Date: Fri, 27 Jan 2006 09:00:50 +0700 (ICT) From: Olivier Nicole <on@cs.ait.ac.th> To: illoai@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: Elegant delete of word ~tmp files in all sub / dirs Message-ID: <200601270200.k0R20orV050840@banyan.cs.ait.ac.th> In-Reply-To: <d7195cff0601261528i37802910n6cff161198d99c5f@mail.gmail.com> (illoai@gmail.com) References: <20060126081925.5085916A443@hub.freebsd.org> <000901c622b2$03b3dcc0$0807a8c0@admin> <43D92DD9.1080304@infracaninophile.co.uk> <d7195cff0601261528i37802910n6cff161198d99c5f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > removing all the word ~tmp files on our Samba > > > server > > > > find /your/file-system -type f -name '*~tmp*' -print0 | xargs -0 rm -f > > > > or something like that. > > > > find /your/file-system -type f -name '*~tmp*' -delete Or, Graham wanted something with {} find /your/file-system -type f -name '*~tmp*' -exec /bin/rm -rf {} \; Olivier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601270200.k0R20orV050840>