Problem with bash script

Daniel Underwood djuatdelta at gmail.com
Tue Jun 16 14:03:38 UTC 2009


> $  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


More information about the freebsd-questions mailing list