spotter (02/18/83)
#R:rlgvax:-105100:tekcad:14500004:000:773
tekcad!spotter Feb 18 09:24:00 1983
To remove a file whose name has weird characters in it use:
rm -ri .
This does a recursive 'rm' on the directory, asking you whether
the file should be deleted for each file. Say 'n' to every file until
you get to the file you need removed, then say 'y', then interrupt
rm (so you don't have to say 'y' to all the rest of your files)
and all is well. DON'T FORGET the -i part of the flag. I did,
once, and rm goes merrily on its way deleting all your files. 'rm -ri .'
reads the directory directly, so whatever strange characters are
in the file name will be used by rm to unlink the file.
Steve Potter
CSnet: spotter@tek
ARPAnet: spotter.tek@rand-relay
uucp: {ucbvax,decvax,chico,pur-ee,cbosg,ihnss}!teklabs!tekcad!spotterajc (02/24/83)
Sorry, that doesn't work. When rm gets to the point of printing the file name so you can answer y or n, it chokes with its usual problem, and tells you : file nonexistent.