[CLUE-Tech] Need help with rmdir
Mike Staver
staver at fimble.com
Mon May 13 12:53:47 MDT 2002
I use the following:
\rm -R dirname
That will delete everything in that directory without asking you, and it
will recursively go through all your directories in that directory and
do the same. So...
Use it very carefully!!
> Gary Threlkeld wrote:
>
> 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
>
--
-Mike Staver
staver at fimble.com
mstaver at globaltaxnetwork.com
More information about the clue-tech
mailing list