How to delete a file with ^? chars in the name?
Ted Johnson
ted at hpwrce.HP.COM
Fri Jan 12 08:54:06 AEST 1990
>I have a file which is named ^?^?^?H01.b (delete character?) and can't
>find a way to delete it. An ls -s on the directory produces:
>
> .. ... (other files)
> 1 ???H01.b
1)do an "ls -i" to get the inode number of the file.
2)from the directory that the offensive file is in, do:
find . -inum N -exec rm {} \;
where N is the inode number of that file.
-Ted
More information about the Comp.unix.wizards
mailing list