Summary of how to remove file with NULL names

BALDWIN mike at whuxl.UUCP
Thu Apr 24 04:31:39 AEST 1986


> Here is the consensis of the net on how to remove files with
> strange and weird characters in there names.  Thanks to all the
> below who responded to my queery.
> 
> [rmjunk.c to remove files with eighth bit set]

There is a much simpler way to do this than using od -c and rmjunk.
First, find the i-number of the file using "ls -bi".  The -b flag
prints funny chars in \ddd notation (BSD or SVR2).  Then, if the
i-number is 341, say, do "find . -inum 341 -exec rm {} \;" to remove
it.
-- 
						Michael Baldwin
			(not the opinions of)	AT&T Bell Laboratories
						{at&t}!whuxl!mike



More information about the Comp.unix.wizards mailing list