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

Re: Deleting weird-named files



 Sorry, someone else already fixed my problem pro bono.

On Wed, 6 Apr 2005, Michael D. Crawford wrote:

> You can use "./" to indicate a file in the current directory in a way
> that hides the "--".  So try this:
>
> rm ./--exclude=*.jpg
>
> However, there is also the "*", which might cause complaints from the
> shell.  If that happens, try this:
>
> rm ./--exclude=\*.jpg
>
> I'll send you my bill in the mail ;-)
>
> Mike Crawford
> crawford@goingware.com
>
>      Read "GoingWare's Bag of Programming Tricks" at:
>              http://www.goingware.com/tips/
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>



Reply to: