From owner-freebsd-questions Thu Jun 13 4:19: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from icarus.slightlystrange.org (icarus.slightlystrange.org [62.190.193.173]) by hub.freebsd.org (Postfix) with ESMTP id 4343B37B44B for ; Thu, 13 Jun 2002 04:18:59 -0700 (PDT) Received: from danielby by icarus.slightlystrange.org with local (Exim 3.12 #1 (Debian)) id 17ISYg-0006QC-00 for ; Thu, 13 Jun 2002 12:14:30 +0100 Date: Thu, 13 Jun 2002 12:14:30 +0100 From: Daniel Bye To: questions@FreeBSD.ORG Subject: Re: How to move a file starting with `-` Message-ID: <20020613111430.GB24043@icarus.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: questions@FreeBSD.ORG References: <20020613065017.P97286-100000@infinity.kettering.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020613065017.P97286-100000@infinity.kettering.edu> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 13, 2002 at 06:52:23AM -0400, Ada Cheng wrote: > Good morning, > How do I move a file called `-name.tex` to name.tex? > if I try mv -name.tex name.tex I get an illegal option error. > Thanks > Ada mv -- -name.tex new.name Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message