[svlug] removing multiple directories

Greg Lindahl lindahl at pbm.com
Fri May 9 17:03:11 PDT 2008


On Fri, May 09, 2008 at 04:53:02PM -0700, Christian Einfeldt wrote:

> cje at rb:/media/videos/10.2.cje/harddrive05$ sudo rm -r *.*
> rm: cannot remove `*.*': No such file or directory

Unix is not MS-DOS. You want

rm -rf *

The glob *.* only matches names with a dot in the middle. All
MS-DOS files have an implicit dot in them. Not so for Unix.

-- greg




More information about the svlug mailing list