Garrett Cooper wrote:
Haha. Forgot that the single quotes version won't work by itself. It's
basically for cases when there are shell sensitive characters inside a
string, when compared to the double quotes. The first solution with --
will work though, guaranteed :).
Derek Ragona wrote:
rm -- '--perserve-permissions'. -- tells getopt to stop searching and
the single quotes are a double bonus because it doesn't interpret the
string contents beforehand, but instead passes it on as a straight
rm -i *
only answer y to the one you want deleted.
At 02:36 PM 3/31/2007, [EMAIL PROTECTED] wrote:
I've made mistake with tar. Something like
tar cvfz --preserve-permissions home.tgz *
tar cvfz --preserve-permissions * home.tgz
As result I have a file with name '--preserve-permissions'.
It seems that it's not easy to delete this file.
does not give the desired result.
What should I do :-)
Try: rm "--perserve-permissions" and rm '--perserve-permissions', in
that order to just see what happens ;)..
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"