From owner-freebsd-questions Wed Dec 15 9:31:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from servidor.exsocom.com.mx (servidor.exsocom.com.mx [200.34.46.130]) by hub.freebsd.org (Postfix) with ESMTP id 9749E154F9 for ; Wed, 15 Dec 1999 09:31:07 -0800 (PST) (envelope-from agalindo@servidor.exsocom.com.mx) Received: from servidor.exsocom.com.mx (servidor.exsocom.com.mx [200.34.46.130]) by servidor.exsocom.com.mx (8.9.3/8.9.3) with SMTP id LAA06498 for ; Wed, 15 Dec 1999 11:35:58 -0600 (CST) Date: Wed, 15 Dec 1999 11:35:58 -0600 (CST) From: Alejandro Galindo Chairez AGALINDO To: freebsd-questions@FreeBSD.ORG Subject: File names statring with '-' Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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