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

Re: Remove funny files



On Mon, Jul 05, 1999 at 08:37:50PM +0100, Mark Brown wrote:
> On Mon, Jul 05, 1999 at 01:49:55AM -0500, Michael Merten wrote:
> 
> > Umm... wouldn't a simple
> 
> >    rm '--excude=files.txt'
> 
> > work??
> 
> No.  The problem is rm trying to interpret --exclude as an option, not
> the shell being clever.
> 

Ok, I got it now.  I tried to 'touch --exclude=files.txt' and got the
'unknown option' error.  So... touch ./--exclude=files.txt worked ok,
as did rm ./--exclude=files.txt

Mike



-- 
Michael Merten <ironfoot@popaccount.com>
        --> NRA Life Member (http://www.nra.org)
        --> Debian GNU/Linux Fan (http://www.debian.org)
        --> CenLA-LUG Member (http://www.angelfire.com/la2/cenlalug)
--  
It is illegal to say "Oh, Boy" in Jonesboro, Georgia.


Reply to: