rmdir when directory is not empty

Mike McCarty mike.mccarty at sbcglobal.net
Tue Dec 20 16:59:58 UTC 2005


kebbelj at scripting-solutions.com wrote:
> In the GUI, I can trash a non-empty directory with a right-click and Move to Trash. What command line option would I use with rmdir to remove a non-empty directory?

I suggest you learn to use the tools...

$ man rmdir

"recursively" means go down the directory tree

Note that you may get directories or files which are "read only",
and get prompts. To prevent this, use the -f (force) option.

But really, RTFM!

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list