Hello

Il giorno lun, 29/05/2023 alle 00.02 +0100, Barry ha scritto:


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.


Good to know that.
We can learn everytime.
Bye
 Ambrogio


Barry



_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@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