find /usr/foo -type f -name "*.pdf" -exec tar -czvf /tmp/bar.gz {} +
You can use {} + instead of {} \; so it will group the results of find into one argument
find /usr/foo -type f -name "*.pdf" -exec tar -czvf /tmp/bar.gz {} +
You can use {} + instead of {} \; so it will group the results of find into one argument