On 28 May 2023, at 16:18, ogio.spam <ogio.spam(a)gmail.com>
wrote:
find . -type f -iname "*pdf" -exec tar -Azvf /var/tmp/SomeArchive.tgz {} \;
find . -type f -iname "*pdf" -exec tar -Azvf /var/tmp/SomeArchive.tgz {} +
Using + means that as many filenames as can be passed are passed to tar.
This reduces the number of time tar is invoked.
Usually a big speed up.
Barry