Date: Mon, 30 Jan 2006 12:56:38 +0700 (ICT) From: Olivier Nicole <on@cs.ait.ac.th> To: gollum123@free.fr Cc: illoai@gmail.com, freebsd-questions@freebsd.org Subject: Re: Elegant delete of word ~tmp files in all sub / dirs Message-ID: <200601300556.k0U5ucxa035109@banyan.cs.ait.ac.th> In-Reply-To: <564274847.20060127160127@free.fr> (message from Mathieu CHATEAU on Fri, 27 Jan 2006 16:01:27 %2B0100) References: <20060126081925.5085916A443@hub.freebsd.org> <000901c622b2$03b3dcc0$0807a8c0@admin> <43D92DD9.1080304@infracaninophile.co.uk> <d7195cff0601261528i37802910n6cff161198d99c5f@mail.gmail.com> <200601270200.k0R20orV050840@banyan.cs.ait.ac.th> <564274847.20060127160127@free.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mathieu, > useless to do -r while you search only files (-type f) > the delete function of find seems more apropriate to me But the -exec mode is more general (understand you put whatever command you want there) and beside, the first question was refeering to a syntax using {}. But I guess that Graham has already deleted all his directories anyway :) Olivier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601300556.k0U5ucxa035109>