> On 28 May 2023, at 16:18, ogio.spam <ogio.s...@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.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue