File name with leading dashes
Dave Mielke
dave at mielke.cc
Sat Jun 18 18:21:06 UTC 2005
[quoted lines by Tobias Vinteus on 2005/06/18 at 19:35 +0200]
>What's the
>cannonical way of handling leading dashes in file names with mv to rename
>them to something more sane?
End the option list with a double dash. For example:
mv -- -badname goodname
--
Dave Mielke | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: dave at mielke.cc | Canada K2A 1H7 | if you're concerned about Hell.
http://FamilyRadio.com/ | http://Mielke.cc/bible/
More information about the Blinux-list
mailing list