more on strange file names

Damon Scaggs damon at lmef.UUCP
Fri Aug 2 09:59:26 AEST 1985


A while back there was considerable discussion about how to delete files
with names with the high bit set. Apparently the shell does strange things
with this bit and it is lost somewhere between the keyboard and the unlink.
If you know the inode of the file I think the following is the easiest way
to remove it.  Move to the directory it is in first:

	find . -inum (inode # of file) -exec /bin/rm {} \;

Certainly this is better than clri followed by a fsck.  find won't play
games with the top bit.  Just hope the file isn't in / !


-- 
Damon Scaggs
{ihnp4,akgua}!sol1!lmef!damon



More information about the Comp.unix mailing list