rm a file with name '--min-size=8'
Peter Gordon
peter at thecodergeek.com
Wed Oct 18 21:51:10 UTC 2006
Ian Malone wrote:
>> Alternatively, you can escape every hyphen and equals sign within the file
>> name:
>> $ rm -i \-\-min\-size\=8
>>
> Will this actually work? Doesn't bash eat the escapes before rm
> sees them?
I just SSH'ed into my webhost (running a heavily patched FC2) and it appears
that you are right. It only works when I use the double hyphen method.
Thanks for the clarification. :)
--
Peter Gordon (codergeek42)
This message was sent through a webmail
interface, and thus not signed.
More information about the fedora-list
mailing list