[H-GEN] deleting files that start with --
Greg Black
gjb at gbch.net
Thu Mar 2 19:01:39 EST 2006
On 2006-03-03, David Powell (Moondrake) wrote:
> I just misused tar's --exclude option and now have a tar file whose name
> starts with --exclude=
>
> How can I delete this (from the CLI)? I've tried escaping the minus
> character and running rm *exclude*, but they just return an error
> "unrecongised option --exclude="
Either of the following will do it:
rm ./--exclude=
rm -- --exclude=
Cheers, Greg
More information about the General
mailing list