[CLUE-Tech] Need help with rmdir

Joe Brockmeier jbrockmeier at earthlink.net
Mon May 13 10:49:00 MDT 2002


Gary Threlkeld wrote:
> I am running RedHat 7.3 and have tried
>  
> rmdir -p --ignore-fail-on-non-empty /tmp/dirB

I believe the "--ignore-fail-on-non-empty" simply tells rmdir not to 
print an error - it doesn't actually force rmdir to delete a non-empty 
directory, which seems to be what you're experiencing.

> The response is to accept the command, returning
> to the command prompt without error but non of the
> directories are deleted.
>  
> Am I misunderstanding that it is possible to delete
> non-empty directories? 

I'd use rm -Rf dirB/, but always be vewy, vewy careful with "rm -Rf" -- 
files are not easy to recover under Linux...

Take care,

Zonker
-- 
Joe 'Zonker' Brockmeier -=- jbrockmeier at earthlink.net
http://www.DissociatedPress.net/
ymessenger: jbrockmeier / AIM: ZonkerJoe
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Ever feel like nothing good was ever going to happen to you?"
-- Christopher Moltisanti
"Yeah, and nothin' did. So what?" -- Paulie Walnuts




More information about the clue-tech mailing list