Weird File Names (Removing them)

Ed Hew edhew at egvideo.UUCP
Sat Mar 4 15:00:00 AEST 1989


In article <718 at bruce.oz> mmcg at bruce.oz (Mike  Mc Gaughey) writes:
>From article <281 at swusrgrp.UUCP>, by jeff at swusrgrp.UUCP (Jeff Tye sys adm):
>> In article <91 at raider.MFEE.TN.US>, root at 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 at egvideo.uucp}

  Ed. A. Hew        Technical Marketing Director        Xeni/Con Corporation
  UUCP at bus: ..!{uunet!}utai!lsuc!xenicon!edhew  Internet: edhew at xenicon.uucp
  UUCP at res: ..!{uunet!}watmath!egvideo!edhew    Internet: edhew at egvideo.uucp
   #I haven't lost my mind, it's backed up on floppy around here somewhere!



More information about the Comp.unix.xenix mailing list