mv file with illegal character

Greg 'groggy' Lehey grog at FreeBSD.org
Mon Apr 21 20:08:27 PDT 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-isp/attachments/20030422/5db90176/attachment.bin


More information about the freebsd-isp mailing list