How to kill a dir?

WipeOut wipe_out at users.sourceforge.net
Mon Jan 5 19:30:24 UTC 2004


Gunnar vS Kramm wrote:

>
>
>Perhaps you can delete it using the inode number.  Try this:
>ls -i
>you should get something line this
>4529682 file1  4529681 test
>(the numbers you get will be different).
>then do this:
>find . -inum 4529681 -exec rm -rf {} \;
>
>
>
>  
>
Still no luck..

[root at dev02 i386]# ls -i
ls: ??*?: Invalid or incomplete multibyte or wide character
 799769 test
[root at dev02 i386]# find . -inum 799769 -exec rm -rf {} \;
rm: cannot remove directory `./test': Directory not empty
find: ./??*?: No such file or directory
[root at dev02 i386]# ls
ls: ??*?: Invalid or incomplete multibyte or wide character
test


Guess I will just have to abandon that directory tree until I rebuild 
the system one day..





More information about the fedora-list mailing list