[PLUG] How To Remove "Ghost" Files?

Rich Shepard rshepard at appl-ecosys.com
Fri Oct 8 14:54:39 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 {} \;

   Darn! It tells me that all those files (when I ask specifically for one
inode) that, "find: ./xdbctl_8h-source.htm: No such file or directory".
Sheesh!

Thanks,

Rich



More information about the PLUG mailing list