Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2006 17:28:31 -0600
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Elegant delete of word ~tmp files in all sub / dirs
Message-ID:  <d7195cff0601261528i37802910n6cff161198d99c5f@mail.gmail.com>
In-Reply-To: <43D92DD9.1080304@infracaninophile.co.uk>
References:  <20060126081925.5085916A443@hub.freebsd.org> <000901c622b2$03b3dcc0$0807a8c0@admin> <43D92DD9.1080304@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/26/06, Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote:
> Graham Bentley wrote:
> > 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

I would think.

--
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7195cff0601261528i37802910n6cff161198d99c5f>