# [EMAIL PROTECTED] / 2002-09-23 22:19:26 -0400:
> On Mon, 23 Sep 2002, Roman Neuhauser wrote:
> >     you can save the grep with
> >         % find foo -type f -iname '*.jpg' | xargs ...
> >     but i think someone already posted this
> 
> I realized another question - in my five or so years of using the find
> command, I have never until now used the "-type f" flag to find.  Is it
> really that important or will directories possibly get acted upon badly?

    that of course depends on the contents of the -exec switch / xargs
    arguments. i haven't done any scientific measurement, but casual
    observations tell me specifying -type (besides -(i)name) speeds up
    the operation pretty much.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
7:27AM up 6 days, 14:42, 29 users, load averages: 0.01, 0.02, 0.00
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to