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

next in thread | previous in thread | raw e-mail | index | archive | help
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




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