From owner-freebsd-questions@FreeBSD.ORG Fri Aug 20 16:29:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C69DE106567A for ; Fri, 20 Aug 2010 16:29:26 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from qmta14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [76.96.27.212]) by mx1.freebsd.org (Postfix) with ESMTP id AD2668FC13 for ; Fri, 20 Aug 2010 16:29:26 +0000 (UTC) Received: from omta06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by qmta14.emeryville.ca.mail.comcast.net with comcast id wd3X1e00416AWCUAEgVSj3; Fri, 20 Aug 2010 16:29:26 +0000 Received: from remegius.comcast.net ([67.180.204.190]) by omta06.emeryville.ca.mail.comcast.net with comcast id wgVQ1e00F46zqiB8SgVQQQ; Fri, 20 Aug 2010 16:29:25 +0000 Message-ID: <4C6EAD63.5040609@comcast.net> Date: Fri, 20 Aug 2010 09:29:23 -0700 From: Rem P Roberti User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.8) Gecko/20100819 Thunderbird/3.1.2 MIME-Version: 1.0 To: Mark Tinguely References: <4C6EA6B6.6090307@comcast.net> <4C6EA802.9010105@gmail.com> In-Reply-To: <4C6EA802.9010105@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Subject: Re: Can't remove or move file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 16:29:26 -0000 On 08/20/10 09:06, Mark Tinguely wrote: > 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 > > Thank you. Still deep into the FreeBSD learning curve, but loving it. I should have recognized that the "-" would indicated a switch, but even if I had, I would not have known the fix. Thanks again. Rem