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

RE: How do you remove files with bad/wierd names



On 23-Mar-2000 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

try 'rm -- --help.tgz'

(no quotes)

--
Andrew


Reply to: