Can't remove or move file

Rem P Roberti remegius at
Fri Aug 20 16:29:26 UTC 2010

  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 at mailing list
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at"
> 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.


More information about the freebsd-questions mailing list