removing a file with hyphens

Roger Burton West roger at firedrake.org
Thu Jun 7 16:14:35 BST 2007


On Thu, Jun 07, 2007 at 03:40:41PM +0100, Matt Wilson wrote:

>If you really need to get that file I'd recommend:
>$ rm -rf *
>It's the only surefire way.

Even that won't do it if it's the only file in the directory. Think
about it.

Moving everything else out of the directory, then rm -rf the directory,
will do the trick.

R


More information about the london.pm mailing list