Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!emory!hubcap!ncrcae!ncr-sd!se-sd!rns From: rns@se-sd.SanDiego.NCR.COM (Rick Schubert) Newsgroups: comp.unix.questions Subject: Re: Changing DIRs to Files... Message-ID: <3890@se-sd.SanDiego.NCR.COM> Date: 20 Sep 90 00:37:08 GMT References: <2284@gmuvax2.gmu.edu> <1990Sep19.015106.22922@virtech.uucp> Organization: NCR Corporation, Systems Engineering - San Diego Lines: 13 In <1990Sep19.015106.22922@virtech.uucp> cpcahil@virtech.uucp (Conor P. Cahill) writes: >In article <2284@gmuvax2.gmu.edu> jnorman@gmuvax2.gmu.edu (Sci-Fi) writes: >>How can one change the file type attibute ??? >How about cp (like in cp dir file) followed by rm -rf dir; mv file dir The version of `cp' that runs on our system does not allow this (it complains that `dir' is a directory). Instead, cat dir >file should work. -- Rick Schubert (rns@se-sd.sandiego.NCR.COM)