On 28 May 2023, at 16:18, ogio.spam <ogio.spam@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
_______________________________________________users mailing list -- users@lists.fedoraproject.orgTo unsubscribe send an email to users-leave@lists.fedoraproject.orgFedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelinesDo not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue