From owner-freebsd-questions@FreeBSD.ORG Fri Aug 20 16:36:50 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 E7F7B10656A6 for ; Fri, 20 Aug 2010 16:36:50 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id D0FF18FC1D for ; Fri, 20 Aug 2010 16:36:50 +0000 (UTC) Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta01.emeryville.ca.mail.comcast.net with comcast id wdUv1e0031smiN4A1gcqC4; Fri, 20 Aug 2010 16:36:50 +0000 Received: from remegius.comcast.net ([67.180.204.190]) by omta20.emeryville.ca.mail.comcast.net with comcast id wgcp1e00246zqiB8ggcpMJ; Fri, 20 Aug 2010 16:36:50 +0000 Message-ID: <4C6EAF20.6010002@comcast.net> Date: Fri, 20 Aug 2010 09:36:48 -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: Sean References: <4C6EA6B6.6090307@comcast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:36:51 -0000 >> No switch with either the rm or mv command works. What is actually going on >> here? > > From the man page: > > NOTES > The rm command uses getopt(3) to parse its arguments, which allows it to > accept the `--' option which will cause it to stop processing flag > options at that point. This will allow the removal of file names that > begin with a dash (`-'). For example: > > rm -- -filename > > -Sean > Yep...I just simply missed that one. Thanks. Rem