Re: rm a file with name '--min-size=8'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux