RE: How to kill a dir?

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

 



If that doesn't work try:
chattr -R -i test/;rm rf test/


-----Original Message-----
From: Gerry Maddock [mailto:gerrym@xxxxxxxxxxxxxxxx] 
Sent: Monday, January 05, 2004 1:56 PM
To: 'fedora-list@xxxxxxxxxx'
Subject: RE: How to kill a dir?

Sorry, I meant:
chattr -iR test/;rm -rf test/

-----Original Message-----
From: fedora-list-admin@xxxxxxxxxx [mailto:fedora-list-admin@xxxxxxxxxx] On
Behalf Of Gerry Maddock
Sent: Monday, January 05, 2004 1:51 PM
To: fedora-list@xxxxxxxxxx
Subject: RE: How to kill a dir?

If that doesn't work, try:
chattr -i /test;rm -rf test

Let me know if that worked for you.


-----Original Message-----
From: fedora-list-admin@xxxxxxxxxx [mailto:fedora-list-admin@xxxxxxxxxx] On
Behalf Of Alexander Dalloz
Sent: Monday, January 05, 2004 1:48 PM
To: fedora-list@xxxxxxxxxx
Subject: Re: How to kill a dir?

Am Mo, den 05.01.2004 schrieb WipeOut um 19:09:
> I have a dir that I can't seem to delete and is giving strange errors..
> 
> [root@dev02 i386]# ls
> ls: ??*?: Invalid or incomplete multibyte or wide character
> test
> [root@dev02 i386]# rm -rf test
> rm: cannot remove directory `test': Directory not empty
> [root@dev02 i386]# cd test
> [root@dev02 test]# ls
> ls: : No such file or directory
> 
> Anyone got any super commands for getting rid of a directory that just 
> will not go?
> 
> Thanks..
> 
> Later..

Hm, I do not know how you produced these invalid charactes but you might
try this inside the directoy where the damaged "test directory is (be
sure that there is no other file or directory which matches the code:

rm -rf -- *test*

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list




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

  Powered by Linux