Can't remove or move file

Mark Tinguely marktinguely at gmail.com
Fri Aug 20 16:06:34 UTC 2010


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 freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
>
This is frequently asked question.

For many commands, the "--" stops the argument processing:

    rm -- -elDeJaPWGg.flv



More information about the freebsd-questions mailing list