Re: How do you remove files with bad/wierd names
On a similar note, avoid naming files -v or -r.... those are real
pains. A friend of mine had to write system code to delete them... If
he still has it sitting around, I'll pass it on.
Marshal Kar-Cheung Wong wrote:
>
> I was wondering how to remove a file by the name of --help.tgz?
> (Don't ask...Okay if you really must know, I typed in tgz --help and I
> get that file. There's no man page for tgz, and I think tgz shouldn't
> accept things starting with -- as file names...) rm always takes it
> as an option, even if quotes, double-quoted, backslashed,
> regular-expressioned. Any suggestions?
>
> Marshal
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: