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

2000-03-23 Thread Colin Watson
[EMAIL PROTECTED] (Aaron Solochek) wrote: >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

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

2000-03-23 Thread kmself
In this specific case: rm -- --help ...should do the trick. The null argument "-- " signifies to most utilities that the remaining arguments are to be interpreted as arguments and not options. Other helpful hints: - List the file by inode, find and remove the inode: touch -- --help

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

2000-03-23 Thread Aaron Solochek
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

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

2000-03-23 Thread Ethan Benson
On Wed, Mar 22, 2000 at 10:14:19PM -0500, 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 thing

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

2000-03-23 Thread Eric G . Miller
On Wed, Mar 22, 2000 at 10:14:19PM -0500, 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 thing

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

2000-03-23 Thread Pollywog
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

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

2000-03-23 Thread Marshal Kar-Cheung Wong
> "Pollywog" == Pollywog <[EMAIL PROTECTED]> writes: > 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 p

How do you remove files with bad/wierd names

2000-03-23 Thread Marshal Kar-Cheung Wong
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 qu