Can't remove or move file

Eitan Adler lists at
Fri Aug 20 16:44:34 UTC 2010

On Fri, Aug 20, 2010 at 12:00 PM, Rem P Roberti <remegius at> 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?
You may find this article interesting:
How to properly deal with filenames in shell scripts:
Some more detail (and a possible "fix"):

Eitan Adler

More information about the freebsd-questions mailing list