[H-GEN] deleting files that start with --

Clinton Roy clinton.roy at gmail.com
Thu Mar 2 19:00:57 EST 2006


Hi David,

> I just misused tar's --exclude option and now have a tar file whose name
> starts with --exclude=

The work-everywhere solution is:

 rm ./--exclude\=

The gnu rm flag to use is, funnily enough, --:

rm -- ./--exclude\=

cheers,
--
Clinton Roy
www.acqao.org - ARC Centre of Excellence for Quantum-Atom Optics
www.humbug.org.au  - Brisbane Unix Group
azure.humbug.org.au/~croy/blog - Blog
www.flickr.com/photos/croy/ - Photos




More information about the General mailing list