Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 11:35:58 -0600 (CST)
From:      Alejandro Galindo Chairez AGALINDO <agalindo@servidor.exsocom.com.mx>
To:        freebsd-questions@FreeBSD.ORG
Subject:   File names statring with  '-'
Message-ID:  <Pine.BSF.3.96.991215113325.6474A-100000@servidor.exsocom.com.mx>

next in thread | raw e-mail | index | archive | help
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)

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.991215113325.6474A-100000>