Re: How to kill a dir?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Original e-mail from: WipeOut (wipe_out@xxxxxxxxxxxxxxxxxxxxx):

> 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@dev02 i386]# ls -i
> ls: ??*?: Invalid or incomplete multibyte or wide character
> 799769 test
> [root@dev02 i386]# find . -inum 799769 -exec rm -rf {} \;
> rm: cannot remove directory `./test': Directory not empty
> find: ./??*?: No such file or directory
> [root@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..
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


Naw let's not let Fedora get the best of us.  Two questions;
1. are you doing this as root?
2. is your rm command aliased to something else? (try "alias rm" to check).


-- 
Gunnar vS Kramm
San Francisco, CA
(415)440-1732 <home>
(415)420-1860 <cell>


GPG public-key
--------------
http://www.gunnarkramm.com/keys/gkramm.gpg

Attachment: pgpEa0nppOLtI.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux