removing a file with hyphens

Roger Burton West roger at
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.


More information about the mailing list