Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 12:38:23 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Jim Weeks <jim@jwweeks.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: mv file with illegal character
Message-ID:  <20030422030823.GC28830@wantadilla.lemis.com>
In-Reply-To: <20030421120037.P11148-100000@veager.jwweeks.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 answer
> 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? 

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+pLInIubykFB6QiMRAlgeAJ9KIXMm07jeikcqo6RRA0ok6METFgCfTsL2
97nG45b7ASh8fz5rmdNqjdQ=
=tESs
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030422030823.GC28830>