On 7 October 2010 16:44, DaZZa <dagi...@gmail.com> wrote:
> Folks.
>
> I've got an idiot user who has created a file on a Linux filesystem named
>
> -.mxf
>
> I need to rename this file, but can't for the life of me remember how
> to escape the - character so mv doesn't regard it as an "option"
> identifier.
>
> Can someone apply the cluestick, please?
>
> DaZZa

Hey,
>From the rm man page:
>       To remove a file whose name starts with a `-', for example `-foo', use 
> one of these commands:
>             rm -- -foo
>             rm ./-foo

$ rm -- -.mxf

Cheers,
Owen.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to