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

RE: Deleting weird-named files

This should work:

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



-----Message d'origine-----
De : Radek W. [mailto:rad01@2wbros.org] 
Envoyé : jeudi 7 avril 2005 12:58
À : debian-user@lists.debian.org
Objet : Re: Deleting weird-named files


and why not try

rm -i *

then answer 'n' to all files and 'y' to your problematic file.


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?
> Thanks,
> Ed

Reply to: