>
> For some reason, ftpd left some garbage in my ftp directory:
>
> 227329 drwxr-xr-x 3 ftp ftp 1024 Sep 6 13:37
> ???????????????????????????????????????????????????????????????????????????????
> ???????????????????????????????????????????????????????????????????????????????
> ??????????????????????????????????????????
>
>
> This is a tree of directories (I don't know how deep it goes) (I ran ls -li),
> some of the entries appear to be blank (i.e. in fr I get /////)
>
> What tool/metholodgies/reading to you recommend? (I essentially want to
> do rm -rf by inode number).
>
You can do :
rm -rfi -- "????????????????????????????..."
| | |_______ Type in the whole name (escaped or quoted).
| |_________ Says don't interpret after this point.
|____________ Prompt for y/N.
I would redirect 'ls' to a file and edit it as a shell-script if the name
it too long or strange. You don't need to know inodes. You can easily
remove any named file or directory tree as long as the name in printable.
Unix-101 trick: put a file called * in some newbys home directory.
Cheers,
Dick Johnson
Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/