On Tue, 08 Feb 2000, Stefan Troeger wrote:
Hi,
On Mon, Feb 07, 2000 at 07:31 -0600, Jack Barnett wrote:
How do you move or copy a filename with a dash in it? The filename lets say is:
-file_name-
You can use the special option `--' to tell mv that everything following it should not be considered an option:
mv -- -file_name- file_name
You can also use "mv ./-file_name ./-new_file_name"
-Nick
+-------------------------------+--------------------------------------------+
| /`--_ Nicholas R LeRoy | In a world without fences, Who needs Gates?|
|{ }/ Norland Corporation | ---- Experience Linux! ---- |
| \ * / W6340 Hackbarth Rd | http://www.linux.org | http://www.ssc.com |
| |___| Fort Atkinson, WI 53538 +--------------------------------------------+
| nick.leroy@norland.com | #include