Date: Fri, 20 Aug 2010 12:44:12 -0400 From: Eitan Adler <lists@eitanadler.com> To: Rem P Roberti <remegius@comcast.net> Cc: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: Can't remove or move file Message-ID: <AANLkTi=U4=xu_NO%2BMRJdzar1MpgwC_ibPsCknn4OCm%2BA@mail.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
On Fri, Aug 20, 2010 at 12:00 PM, Rem P Roberti <remegius@comcast.net> wrot= e: > =C2=A0This is a new one for me. =C2=A0I converted a YouTube selection usi= ng youtube_dl > and the file that was created was named -elDeJaPWGg.flv. =C2=A0When 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 ... > =C2=A0 =C2=A0 =C2=A0 unlink file > > No switch with either the rm or mv command works. =C2=A0What is actually = going on > here? > You may find this article interesting: How to properly deal with filenames in shell scripts: http://www.dwheeler.com/essays/filenames-in-shell.html Some more detail (and a possible "fix"): http://www.dwheeler.com/essays/fixing-unix-linux-filenames.htm --=20 Eitan Adler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=U4=xu_NO%2BMRJdzar1MpgwC_ibPsCknn4OCm%2BA>