Page 1 of 1
Batch: merge pdfs with same "filename-part"
Posted: 10 Dec 2020 15:57
by galtar53
I want to merge some PDFs, But I have to merge a lot of pdfs with filenames like this (for exemple) :
Capture.JPG
The batch-script should parse the filenames and merge all files which starts with the same filename, like (for exemple) :
P388
P4632
Thank you
Re: Batch: merge pdfs with same "filename-part"
Posted: 11 Dec 2020 00:56
by RalphM
I'm not aware that XY does any merging of pdf files and would rather expect to use a pdf tool for such and not a file manager.
If you find a pdf tool with CLI you could certainly script XY to search for the files to be merged and then call the pdf tool from the same script.
Re: Batch: merge pdfs with same "filename-part"
Posted: 11 Dec 2020 01:19
by highend
PDFtk (
https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/) can be used for such a purpose (the cli part of it)...
Re: Batch: merge pdfs with same "filename-part"
Posted: 11 Dec 2020 09:18
by galtar53
Thank you