Marv Graham <[email protected]> writes:

> This is VERY unexpected behavior! An 'rm -f' command has (for my experience 
> in the last 30 years) removed anything.
>
> What;'s the problem with rm on ubuntu?
Flag -f won't delete directories.
To remove anything, you'd use: rm -rf

Use flag -r (or -R) to delete directories.  If you prefer
delete _empty_ directories but preserve non-empty dirs, then use
flag -d.


>From the 'rm' manual:

     -r, -R, --recursive
          remove directories and their contents recursively

     -d, --dir
          remove empty directories




Reply via email to