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

Re: Deleting weird-named files



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/



Reply to: