From: utzoo!decvax!ucbvax!CAD:tektronix!tekcad!spotter Newsgroups: net.unix-wizar Title: Re: Re: rm ABC* - (nf) Article-I.D.: tekcad.366 Posted: Fri Feb 18 09:24:21 1983 Received: Sun Feb 20 06:38:49 1983 #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!spotter