Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2002 06:58:31 -0400
From:      Moti Levy <moti@flncs.com>
To:        Ada Cheng <acheng@member.ams.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: How to move a file starting with `-`
Message-ID:  <3D087AD7.1070806@flncs.com>
References:  <20020613065017.P97286-100000@infinity.kettering.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Ada Cheng wrote:
> Good morning,
> 	How do I move a file called `-name.tex` to name.tex?
> if I try mv -name.tex name.tex I get an illegal option error.
> Thanks
> Ada
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

mv ./-name name


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?3D087AD7.1070806>