On Thu, 2003-01-16 at 14:20, Chris Mason wrote:
> How do you remove a file called --exclude from the bash shell?
>
> [root@non htdocs]# rm \-\-exclude
> rm: unrecognized option `--exclude'
>
>
rm -- --exclude
the first -- tells bash that anything following are arguments and not
options
Bret
That worked, thanks.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of David Busby
Sent: Thursday, January 16, 2003 4:21 PM
To: [EMAIL PROTECTED]
Subject: Re: Remove --exclude
Why did the filename start with two dashes?
try rm -f "./--ex
2003 3:41 PM
To: [EMAIL PROTECTED]
Subject: Re: Remove --exclude
Chris Mason,
On Thursday January 16, 2003 03:20, Chris Mason wrote:
> How do you remove a file called --exclude from the bash shell?
>
> [root@non htdocs]# rm \-\-exclude
> rm: unrecognized option `--exclude
try...
rm /fullpath/--exclude.
--On Thursday, January 16, 2003 3:41 PM -0500 Brian Ashe
<[EMAIL PROTECTED]> wrote:
Chris Mason,
On Thursday January 16, 2003 03:20, Chris Mason wrote:
How do you remove a file called --exclude from the bash shell?
[root@non htdocs]# rm \-\-exclude
rm: unrecogn
Chris Mason,
On Thursday January 16, 2003 03:20, Chris Mason wrote:
> How do you remove a file called --exclude from the bash shell?
>
> [root@non htdocs]# rm \-\-exclude
> rm: unrecognized option `--exclude'
>
>
> I can't find a way to exclude the "-" character
Try...
rm -- --exclude
The "--"
Why did the filename start with two dashes?
try rm -f "./--exclude"
- Original Message -
From: "Chris Mason" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 12:20
Subject: Remove --exclude
> How do you remove a file c
How do you remove a file called --exclude from the bash shell?
[root@non htdocs]# rm \-\-exclude
rm: unrecognized option `--exclude'
I can't find a way to exclude the "-" character
Chris Mason
[EMAIL PROTECTED]
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8