Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2010 09:29:23 -0700
From:      Rem P Roberti <remegius@comcast.net>
To:        Mark Tinguely <marktinguely@gmail.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Can't remove or move file
Message-ID:  <4C6EAD63.5040609@comcast.net>
In-Reply-To: <4C6EA802.9010105@gmail.com>
References:  <4C6EA6B6.6090307@comcast.net> <4C6EA802.9010105@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  On 08/20/10 09:06, Mark Tinguely wrote:
> Rem P Roberti wrote:
>>  This is a new one for me.  I converted a YouTube selection using 
>> youtube_dl and the file that was created was named -elDeJaPWGg.flv.  
>> When I try to rename it, or delete it, I get an error message thus:
>>
>> root@ ~: rm -elDeJaPWGg.flv
>> rm: illegal option -- e
>> usage: rm [-f | -i] [-dIPRrvW] file ...
>>        unlink file
>>
>> No switch with either the rm or mv command works.  What is actually 
>> going on here?
>>
>> Rem
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe@freebsd.org"
>>
> This is frequently asked question.
>
> For many commands, the "--" stops the argument processing:
>
>    rm -- -elDeJaPWGg.flv
>
>

Thank you.  Still deep into the FreeBSD learning curve, but loving it.  
I should have recognized that the "-" would indicated a switch, but even 
if I had, I would not have known the fix.  Thanks again.

Rem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6EAD63.5040609>