How to kill a dir?
Gunnar vS Kramm
gkramm at speakeasy.net
Mon Jan 5 19:25:33 UTC 2004
Original e-mail from: WipeOut (wipe_out at users.sourceforge.net):
> Gerry Maddock wrote:
>
> >If that doesn't work try:
> >chattr -R -i test/;rm rf test/
> >
> >
> >
> >
>
> Got the following output..
>
> [root at dev02 i386]# chattr -R -i test/;rm -rf test/
> chattr: Too many open files while reading flags on
> test/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////!
> /////////////////////////////////////
> rm: cannot remove directory `test/': Directory not empty
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
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 {} \;
--
Gunnar vS Kramm
San Francisco, CA
(415)440-1732 <home>
(415)420-1860 <cell>
GPG public-key
--------------
http://www.gunnarkramm.com/keys/gkramm.gpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040105/228ca929/attachment-0001.sig>
More information about the fedora-list
mailing list