removing a file with hyphens

Matt Wilson codebrewery at gmail.com
Thu Jun 7 15:08:56 BST 2007


> > xargs -n is what you want if you want to be kind to angels/fairies/
> > kittens.
>
> Whilst everything you type is correct, as are the two previous posters,
> considering the original question (now lost in the mists of topic drift),
> using find just seems to be a very fancy way of engineering a path starting
> with ./ to avoid rm thinking that a file name starting with a hyphen is an
> option.

And a fancy way to potentially delete lots of files you didn't want to
do delete too! :)


More information about the london.pm mailing list