Can't remove or move file
listreader at lazlarlyricon.com
Fri Aug 20 16:39:01 UTC 2010
2010-08-20 18:00, Rem P Roberti skrev:
> 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?
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
The problem is that the filename contains a dash, which rm interprets as
an indication that the next character is a switch. Use unlink instead,
i.e. unlink -elDeJaPWGg.flv.
More information about the freebsd-questions