% mv  ./---.dat   foo.dat

Worth a try, i guess.

Raj

::>-----Original Message-----
::>From: Michael Kraus [mailto:[EMAIL PROTECTED]
::>Sent: Friday, 1 August 2003 10:38 AM
::>To: [EMAIL PROTECTED]
::>Subject: [SLUG] mv ---.dat foo.dat
::>
::>
::>G'day all...
::>
::>If I was wanting to move a file called ---.dat to another name (say
::>foo.dat) - how would I go about it?
::>
::>mv interprets the "-" in the filename as a parameter switch 
::>(and as the
::>shell expands wildcards, they are futile) - how do I tell mv that its
::>the file to operate upon?
::>
::>
::>Thanks.
::>
::>Mike
::>
::>
::>-- 
::>SLUG - Sydney Linux User's Group - http://slug.org.au/
::>More Info: http://lists.slug.org.au/listinfo/slug
::>
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to