rmdir when directory is not empty

CodeHeads ch at code-heads.com
Tue Dec 20 17:02:57 UTC 2005


Mike McCarty wrote:
> 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

The man pages are a wonderful thing!!

~WILL~




More information about the fedora-list mailing list