Changing DIRs to Files...
Rick Schubert
rns at se-sd.SanDiego.NCR.COM
Thu Sep 20 10:37:08 AEST 1990
In <1990Sep19.015106.22922 at virtech.uucp> cpcahil at virtech.uucp (Conor P. Cahill) writes:
>In article <2284 at gmuvax2.gmu.edu> jnorman at 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 at se-sd.sandiego.NCR.COM)
More information about the Comp.unix.questions
mailing list