mv file with illegal character

Andrew Scherbachenko erlis at tik.net.ua
Mon Apr 21 09:14:05 PDT 2003


On апр 21, 2003 at 12:09:15, Jim Weeks wrote:
> Date: Mon, 21 Apr 2003 12:09:15 -0400 (EDT)
> From: Jim Weeks <jim at jwweeks.com>
> To: freebsd-isp at freebsd.org
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> Subject: mv file with illegal character
> X-Spam-Status: No, hits=0.0 required=5.0
> 	tests=none
> 	version=2.53
> X-Spam-Level: 
> 
> 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.
If empty rmdir -- -backup
else rm -R -- -backup

-- 
Sincerely yours, Andrew Scherbachenko.                  ISP Teleinform-Krym
Phones: +380-652- 486191,518690,518692,518693           Simferopol, Crimea, Ukraine
ICQ#: 58539719, mailto: erlis at tik.net.ua             Web: http://www.tik.net.ua/


More information about the freebsd-isp mailing list