How to kill a dir?
Alexander Dalloz
alexander.dalloz at uni-bielefeld.de
Mon Jan 5 19:28:10 UTC 2004
Am Mo, den 05.01.2004 schrieb WipeOut um 20:10:
> 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
God, what the hell did you do with that test directory?
find test -name "*" print0 | xargs -0 \
chattr -i
chattr -i test; rm -rf test
\ means no break but wrapped single line
Alexander
--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
More information about the fedora-list
mailing list