Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2002 10:27:04 +0200
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        Oliver Fromme <olli@secnetix.de>, FreeBSD LIST <freebsd-questions@FreeBSD.ORG>
Subject:   Re: find case-insensitive challenge
Message-ID:  <20020923082704.GR30361@freepuppy.bellavista.cz>
In-Reply-To: <20020922214801.T68747-100000@earl-grey.cloud9.net>
References:  <200209191353.g8JDrnlA057534@lurza.secnetix.de> <20020922214801.T68747-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
# 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




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