From owner-freebsd-isp@FreeBSD.ORG Mon Apr 21 20:08:27 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F72037B401 for ; Mon, 21 Apr 2003 20:08:27 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FCB243FA3 for ; Mon, 21 Apr 2003 20:08:26 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 4B75A51A70; Tue, 22 Apr 2003 12:38:23 +0930 (CST) Date: Tue, 22 Apr 2003 12:38:23 +0930 From: Greg 'groggy' Lehey To: Jim Weeks Message-ID: <20030422030823.GC28830@wantadilla.lemis.com> References: <20030421120037.P11148-100000@veager.jwweeks.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5G06lTa6Jq83wMTw" Content-Disposition: inline In-Reply-To: <20030421120037.P11148-100000@veager.jwweeks.com> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-isp@freebsd.org Subject: Re: mv file with illegal character X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2003 03:08:27 -0000 --5G06lTa6Jq83wMTw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Monday, 21 April 2003 at 12:09:15 -0400, Jim Weeks wrote: > This isn't a really a freebsd question, but I can't seem to find the answ= er > to this elsewhere. I imagine that some of you may have come across the > same situation. > > One of my clients has renamed a directory -backup and now she can't do a > thing with it. Any command seems to pickup the -b as an option rather > than part of the name. I've tried *backup and still the illegal option > error occurs. > > Any ideas?=20 Strangely, nobody else answered this: use ./-backup. . is the current directory, so ./filename is the same as filename for any value of "filename". Greg -- See complete headers for address and phone numbers --5G06lTa6Jq83wMTw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+pLInIubykFB6QiMRAlgeAJ9KIXMm07jeikcqo6RRA0ok6METFgCfTsL2 97nG45b7ASh8fz5rmdNqjdQ= =tESs -----END PGP SIGNATURE----- --5G06lTa6Jq83wMTw--