[CLUE-Tech] Need help with rmdir
Chris K. Chew
chris at fenetics.com
Mon May 13 12:48:51 MDT 2002
Try something like:
rm -fR /tmp/dirB
Chris
-----Original Message-----
From: clue-tech-admin at clue.denver.co.us
[mailto:clue-tech-admin at clue.denver.co.us]On Behalf Of Gary Threlkeld
Sent: Monday, May 13, 2002 12:42 PM
To: clue-tech at clue.denver.co.us
Subject: [CLUE-Tech] Need help with rmdir
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/a6280529/attachment.html
More information about the clue-tech
mailing list