Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 10:03:33 -0400
From:      Daniel Underwood <djuatdelta@gmail.com>
To:        Moises Castellanos <m2o7i1@gmail.com>
Cc:        Carmel NY <carmel_ny@hotmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Problem with bash script
Message-ID:  <b6c05a470906160703m5f2fe4a5s955e7bf044b26a69@mail.gmail.com>
In-Reply-To: <2620c3260906160636j1f6758fcgafaa6c50811a3452@mail.gmail.com>
References:  <BLU0-SMTP586D9F12148D0B6683B635933F0@phx.gbl> <2620c3260906160636j1f6758fcgafaa6c50811a3452@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> $  find ./ -name "*.pem" -exec cp {} /usr/home/tmp/something \;

I'm a novice with shell scripting myself, but what's the difference
between that code and some variant thereof using a pipe and "xargs"?
Are they simply two different ways of achieving the same result?  Or
is there some more important difference I may be overlooking?

Thanks,
Daniel



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