On 28 May 2023, at 16:18, ogio.spam <ogio.spam@xxxxxxxxx> wrote:
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@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue