Path: utzoo!utgpu!watmath!egvideo!edhew From: edhew@egvideo.UUCP (Ed Hew) Newsgroups: comp.unix.xenix Subject: Re: Weird File Names (Removing them) Message-ID: <1953@egvideo.UUCP> Date: 4 Mar 89 05:00:00 GMT References: <281@swusrgrp.UUCP> <718@bruce.oz> Reply-To: edhew@egvideo.UUCP (Ed Hew) Organization: A Box in the Basement, Kitchener, Ontario, Canada Lines: 36 In article <718@bruce.oz> mmcg@bruce.oz (Mike Mc Gaughey) writes: >From article <281@swusrgrp.UUCP>, by jeff@swusrgrp.UUCP (Jeff Tye sys adm): >> In article <91@raider.MFEE.TN.US>, root@raider.MFEE.TN.US (Bob Reineri) writes >>> One of them has a file in his home directory that I can't get rid of to save >>> my life. In a regular 'l' listing, it has a filename of the greek letter >> Try this: >> >> [info on using find with inode numbers deleted] > > Whatever happened to the simple > > rm -ir . > > [or is xenix brain damaged?] > > Mike. Actually, this works quite well in Xenix (at least the SCO flavour). If you're not comfortable with using it interactively, and want to be *really* safe (like when you have 2 or 3 files that _appear_ to be the same, but really aren't, due to embeded unprintable char's), do the following: cd {required_dir} ls > /tmp/junk vi /tmp/junk # to pare it down to the files you think # you want to remove. rm -i < `cat /tmp/junk` This makes you a bit more comfortable when you have to perform surgery cd'd to /dev ..... --ed {edhew@egvideo.uucp} Ed. A. Hew Technical Marketing Director Xeni/Con Corporation UUCP@bus: ..!{uunet!}utai!lsuc!xenicon!edhew Internet: edhew@xenicon.uucp UUCP@res: ..!{uunet!}watmath!egvideo!edhew Internet: edhew@egvideo.uucp #I haven't lost my mind, it's backed up on floppy around here somewhere!