On 5/28/2023 11:17 AM, ogio.spam wrote:
Il giorno dom, 28/05/2023 alle 08.49 -0400, Max Pyziur ha scritto:
Greetings,
When I issue a command such as:
tar zcvf /var/tmp/SomeArchive.tgz `find . -iname '*pdf' -type f`
This can also introduce some errors cause the command line can be too
long to be interpreted.
If the find command returns lto of files, all become part of the
command line.
To answer the command line to long to be interpreted, I myself would try
a backspace, then enter. Sometimes that works with the shell. I love
this question it involves powerful commands and shell commands. :)
Is your goal to create an archive file with all the pdf files?
Maibe a good choise can be
find . -type f -iname "*pdf" -exec tar -Azvf /var/tmp/SomeArchive.tgz
{} \;
Regards
Ambrogio
_______________________________________________
users mailing list --users@lists.fedoraproject.org
To unsubscribe send an email tousers-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
_______________________________________________
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