Date: Wed, 15 Dec 1999 18:15:44 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Alejandro Galindo Chairez AGALINDO <agalindo@servidor.exsocom.com.mx> Cc: freebsd-questions@freebsd.org Subject: Re: File names statring with '-' Message-ID: <19991215181543.B325@marder-1> In-Reply-To: <Pine.BSF.3.96.991215113325.6474A-100000@servidor.exsocom.com.mx> References: <Pine.BSF.3.96.991215113325.6474A-100000@servidor.exsocom.com.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 15, 1999 at 11:35:58AM -0600, Alejandro Galindo Chairez AGALINDO wrote:
> Hello,
>
> For a mistake a customer saved a file name (on our FreeBSD server) with a
> '-', how can we rename it? i was trying to move the file on the next way:
>
> mv -filename.txt filename.txt
>
> mv "-filename.txt" filename.txt
>
> but it didnt work ( becouse the mv command take the '-' especting an
> option)
>
mv ./-filename.txt filename.txt
HTH
> Thanks for your help in advanced
>
> Alejandro
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
PERL has been described as "the duct tape of the Internet"
and "the Unix Swiss Army chainsaw"
- Computer Shopper 12/99
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org http://www.radan.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991215181543.B325>
