Filename snafu

Harry Hoffman hhoffman at ip-solutions.net
Fri Nov 3 16:05:46 UTC 2006


rm -f -- -1.iso

generally speaking the -- tells most commands that the arguments are now
done and the rm command will no longer think -1 is a argument.

HTH,
Harry

Sherrett O. Walker wrote:
> Hello, all.
> 
> Through a misuse of mondorescue, I have two improperly named files
> -1.iso and -2.iso.  I'd like to rename them to foo1.iso and foo2.iso.
> Can you tell me how?  I've tried quotes and a backslash.
> 
> Thanks in advance.
> 
> SOW
> 




More information about the redhat-list mailing list