Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ttrdc.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!mgnetp!ltuxa!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: net.unix Subject: Re: more on strange file names Message-ID: <320@ttrdc.UUCP> Date: Sat, 3-Aug-85 21:48:28 EDT Article-I.D.: ttrdc.320 Posted: Sat Aug 3 21:48:28 1985 Date-Received: Sun, 4-Aug-85 10:24:55 EDT References: <137@lmef.UUCP> Distribution: net Organization: AT&T, Computer Systems Division, Skokie, IL Lines: 16 > find . -inum # -exec /bin/rm {} \; Guys, this actually works even on file names containing non-ascii characters! Try it (write a little c program which creates such a file, then proceed to bomb it this way). In fact if you want to keep the file, /bin/mv will work just fine too (to give it a name accessible from the shell). If the file is in / or some other directory under which several filesystems are mounted, no sweat. Change the /bin/rm to /bin/rm -i. -- ------------------------------- Disclaimer: The views contained herein are | dan levy | yvel nad | my own and are not at all those of my em- | an engihacker @ | ployer, my pets, my plants, my boss, or the | at&t computer systems division | s.a. of any computer upon which I may hack. | skokie, illinois | | "go for it" | Path: ..!ihnp4!ttrdc!levy -------------------------------- or: ..!ihnp4!iheds!ttbcad!levy