From owner-freebsd-questions Mon Sep 23 1:27:27 2002 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 1E7E937B401 for ; Mon, 23 Sep 2002 01:27:26 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id A80B443E6E for ; Mon, 23 Sep 2002 01:27:24 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 7730 invoked from network); 23 Sep 2002 08:27:18 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 23 Sep 2002 08:27:18 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 4A6772FDAB2; Mon, 23 Sep 2002 10:27:04 +0200 (CEST) Date: Mon, 23 Sep 2002 10:27:04 +0200 From: Roman Neuhauser To: Peter Leftwich Cc: Oliver Fromme , FreeBSD LIST Subject: Re: find case-insensitive challenge Message-ID: <20020923082704.GR30361@freepuppy.bellavista.cz> Mail-Followup-To: Peter Leftwich , Oliver Fromme , FreeBSD LIST References: <200209191353.g8JDrnlA057534@lurza.secnetix.de> <20020922214801.T68747-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020922214801.T68747-100000@earl-grey.cloud9.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # Hostmaster@Video2Video.Com / 2002-09-22 21:53:58 -0400: > On Thu, 19 Sep 2002, Oliver Fromme wrote: > > This also enables you to use grep to filter the file names in > > a more sophisticated way than find itself can do: > > find foo -type f | grep -i '\.jpg$' | xargs -J % mv % bar > > Amazing, I just wanted to post and say "Have I told you (all) lately, that > I love you?" This is the most incredible learning experience, and I must > say that my command-line skills just grew approximately 14555% fold :) you can save the grep with % find foo -type f -iname '*.jpg' | xargs ... but i think someone already posted this -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 10:24AM up 5 days, 17:39, 21 users, load averages: 0.01, 0.02, 0.00 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message