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

Re: Deleting weird-named files



On Wed, 2005-04-06 at 12:17, Ed Curtis wrote:
> I recently tried to tar a directory and used the --exclude= tag. I wound
> up making a file called --exclude=*.jpg. I can't seem to delete this file
> even using '--exclude=*.jpg'. It keeps trying to take the -- as a command
> option. How can I delete this file?

try:

rm -- '--exclude=\*.jpg'

-- 
 o)      Derek Wueppelmann                 (o
(D .       monkey@monkeynet.ca              D).
((`           http://www.monkeynet.ca/     ( ) `

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: