[CLUE-Tech] Need help with rmdir

Gary Threlkeld gthrelk at attbi.com
Mon May 13 12:42:01 MDT 2002


I have several subdiretories in a tree that need to be deleted.  
Because of the number of files/directories I don't want
to delete individually if possible.

Example:
                /tmp
    /dirA                /dirB
                    /dirB1    /dirB2    ...

I want to delete all of branch /tmp/dirB.

I am running RedHat 7.3 and have tried

rmdir -p --ignore-fail-on-non-empty /tmp/dirB

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?  

Thanks,

Gary Threlkeld
gthrelk at attbi.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20020513/2d24de74/attachment.html


More information about the clue-tech mailing list