deleting illegaly named file

Julian C. Dunn lists-JN5fZfbfKAtWk0Htik3J/w at public.gmane.org
Fri Jul 16 16:26:31 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 16 Jul 2004, Lennart Sorensen wrote:

> Standard methods are:
> 
> rm -- filename
> rm ./filename

Damn, and I was going to suggest something obfuscated like
find . -type f -maxdepth 1 -name 'filename' -exec rm {} \;

:-)

- - Julian

- -- 
[    Julian C. Dunn <jdunn-JN5fZfbfKAtWk0Htik3J/w at public.gmane.org> * <julian-50k5kYnWtIlg9hUCZPvPmw at public.gmane.org>      ]
[   WWW: www.aquezada.com/staff/julian/ * www.dreaming.org/~julian/   ]
[ PGP: 0xFDC205B9 - 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
[   "half a love is better than no love at all" - nerissa nields      ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5rc2 (GNU/Linux)

iD8DBQFA+AG+YGXVM/3CBbkRArGPAKDzGD8eQhloK7h5gaB+bPqliQWDDACg/ktb
waemrtCyRQUPHhOoal60X0U=
=S6Nf
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list