have you tried

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
-- 
Regards,

Kevin Saenz
 
Spinaweb
Your one stop shop for I.T solutions.
 
Ph: 02 4620 5130
Fax: 02 4625 9243
Mobile: 0418455661
Web: http://www.spinaweb.com.au

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to