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.
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