[PLUG] How To Remove "Ghost" Files?
Paul Heinlein
heinlein at madboa.com
Fri Oct 8 14:07:19 UTC 2010
On Fri, 8 Oct 2010, Paul Heinlein wrote:
> You might try deleting it by inode number:
>
> # get the file's inode (e.g., 123456)
> ls -i
> # delete file by inode number
> find . -inum 123456 -exec rm {} \;
Or, if the file has bizarre characters in its name that confuse rm,
find . -inum 123456 -exec rm -- '{}' \;
--
Paul Heinlein <> heinlein at madboa.com <> www.madboa.com
More information about the PLUG
mailing list