From owner-freebsd-questions@FreeBSD.ORG Thu Jan 26 19:52:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4113316A420 for ; Thu, 26 Jan 2006 19:52:26 +0000 (GMT) (envelope-from gbentley@uk2.net) Received: from pih-relay04.plus.net (pih-relay04.plus.net [212.159.14.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD4FD43D48 for ; Thu, 26 Jan 2006 19:52:25 +0000 (GMT) (envelope-from gbentley@uk2.net) Received: from [81.174.174.115] (helo=admin) by pih-relay04.plus.net with smtp (Exim) id 1F2DAO-0003zz-6m for freebsd-questions@freebsd.org; Thu, 26 Jan 2006 19:52:24 +0000 Message-ID: <000901c622b2$03b3dcc0$0807a8c0@admin> From: "Graham Bentley" To: References: <20060126081925.5085916A443@hub.freebsd.org> Date: Thu, 26 Jan 2006 19:52:18 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Elegant delete of word ~tmp files in all sub / dirs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 19:52:26 -0000 Hi All, I once found a very elegant method of recursively removing all the word ~tmp files on our Samba server (many hundereds of subs) It involved find rm xargs and some {} It worked very quickly indeed. I have tried to find this again but cant and have used alternatives that are alot slower. Any CLI Gurus point me in the path of enlightenment ? :o)