Date: Wed, 5 Jul 2006 00:23:15 +0200 From: dick hoogendijk <dick@nagual.st> To: fbsdq <freebsd-questions@freebsd.org> Subject: Re: find syntax Message-ID: <20060705002315.c2242af1.dick@nagual.st> In-Reply-To: <20060704191005.34812.qmail@web60016.mail.yahoo.com> References: <200607040803.k6483e9A029133@banyan.cs.ait.ac.th> <20060704191005.34812.qmail@web60016.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Jul 2006 15:10:05 -0400 (EDT) Peter <petermatulis@yahoo.ca> wrote: > > --- Olivier Nicole <on@cs.ait.ac.th> wrote: > > > > #find /dir/to/htmlfile -name *.html -exec perl -p -i -e > > > "s/nagual.st/nagual.nl/g;" {} \; > > > > You should escape the * that you pass to find: > > > > -name \*.html > > Or > > -name "*.html" Yes, yes, they both work ;-) The files are changed and it went very fast. Thank you for your suggestions. And I have written down this "change-files-rule" into my notebook. It is powerful! -- dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ The Power to Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060705002315.c2242af1.dick>