Hot to merge folder content
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Hot to merge folder content
Hello!
I am looking for a feature to create a batch job but i cant found it (i don´t know if exist)
I have a folder that content other forders with images in each one.
Well, i want to merge the images of the each folder in one pdf file named like the folder name, it´s that possible? if yes, which action i need to select to do that?
Thanks in advance for your help!!!!
I am looking for a feature to create a batch job but i cant found it (i don´t know if exist)
I have a folder that content other forders with images in each one.
Well, i want to merge the images of the each folder in one pdf file named like the folder name, it´s that possible? if yes, which action i need to select to do that?
Thanks in advance for your help!!!!
-
- User
- Posts: 2391
- Joined: Wed Jan 18, 2006 12:10 pm
Re: How to merge folder content
... command-line switches in combination with PDF-XChange PDF-Tools ...
https://forum.pdf-xchange.com/ ... 70&t=27734
Please do NOT read my own post in that topic. It was not the expected answer.
https://forum.pdf-xchange.com/ ... 70&t=27734
Please do NOT read my own post in that topic. It was not the expected answer.
- Patrick-Tracker Supp
- Site Admin
- Posts: 1645
- Joined: Thu Mar 27, 2014 6:14 pm
- Location: Vancouver Island
- Contact:
Re: Hot to merge folder content
Hello alcoscar
As Willy mentioned this can be done in conjunction with PDF tools and command line attributes. You will find a list of command parameters here:
https://help.pdf-xchange.com/pdfxt6 ... ons_t.html
Thank you, Willy, for linking to that other topic!
Cheers to all!
As Willy mentioned this can be done in conjunction with PDF tools and command line attributes. You will find a list of command parameters here:
https://help.pdf-xchange.com/pdfxt6 ... ons_t.html
Thank you, Willy, for linking to that other topic!
Cheers to all!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Cheers,
Patrick Charest
Tracker Support North America
Thank you.
Cheers,
Patrick Charest
Tracker Support North America
Re: Hot to merge folder content
Hi again to all.
In first time thanks for your quick answer.
I trying the option that you told me but doesn´t work like i expected.
I have one directory: (example:)
Images_to_convert
12-12-2016
img1.jpg
img2.jpg
img3.jpg
img4.jpg
14-12-2016
img1.jpg
img2.jpg
img3.jpg
img4.jpg
img5.jpg
16-12-2016
img1.jpg
img2.jpg
img3.jpg
well, when i launch the batch (including "split/merge"), the final result it´s only one file pdf with all the pages in (12), when i want 3 separate pdf files like:
12-12-2016.pdf (with 4 pages)
14-12-2016.pdf (with 5 pages)
16-12-2016.pdf (with 3 pages)
i try all the options in split/merge process with the same result.
Any idea?
Thanks in advance
Oscar
In first time thanks for your quick answer.
I trying the option that you told me but doesn´t work like i expected.
I have one directory: (example:)
Images_to_convert
12-12-2016
img1.jpg
img2.jpg
img3.jpg
img4.jpg
14-12-2016
img1.jpg
img2.jpg
img3.jpg
img4.jpg
img5.jpg
16-12-2016
img1.jpg
img2.jpg
img3.jpg
well, when i launch the batch (including "split/merge"), the final result it´s only one file pdf with all the pages in (12), when i want 3 separate pdf files like:
12-12-2016.pdf (with 4 pages)
14-12-2016.pdf (with 5 pages)
16-12-2016.pdf (with 3 pages)
i try all the options in split/merge process with the same result.
Any idea?
Thanks in advance
Oscar
-
- User
- Posts: 2391
- Joined: Wed Jan 18, 2006 12:10 pm
Re: Hot to merge folder content
I also executed some tests, and for as far as I can see, there are no options to create separate PDFs per group of files with a same date. It is even not possible to create a PDF per sub-folder (via one single command line).
If I understand it correctly, you would like to create one PDF per group of images with an equal create- or modification-date.
I do not know if you would be pleased with a work around where you create a separate folder for each group, like for example "Folder_01", "Folder_02", and so on and then create a *.bat file with following instructions:
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=no imagesToPDF "C:\Images\Folder_01"
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=no imagesToPDF "C:\Images\Folder_02"
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=no imagesToPDF "C:\Images\Folder_03"
...
If I understand it correctly, you would like to create one PDF per group of images with an equal create- or modification-date.
I do not know if you would be pleased with a work around where you create a separate folder for each group, like for example "Folder_01", "Folder_02", and so on and then create a *.bat file with following instructions:
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=no imagesToPDF "C:\Images\Folder_01"
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=no imagesToPDF "C:\Images\Folder_02"
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=no imagesToPDF "C:\Images\Folder_03"
...
- Patrick-Tracker Supp
- Site Admin
- Posts: 1645
- Joined: Thu Mar 27, 2014 6:14 pm
- Location: Vancouver Island
- Contact:
Re: Hot to merge folder content
Hello Willy,
That looks like a good workaround!
alcoscar,
Does this solution work for you?
Cheers to you both!
That looks like a good workaround!
alcoscar,
Does this solution work for you?
Cheers to you both!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Cheers,
Patrick Charest
Tracker Support North America
Thank you.
Cheers,
Patrick Charest
Tracker Support North America
Re: Hot to merge folder content
Hi Willy.
I create a batch file with your instructions and the result is only a pdf file with all the pages in crated into the first folder named "New Document From Images.pdf" (isn´t valid)
For example, i have the pages of a newspaper separated in folders named with the newspaper date.
The result must will be one pdf file with the newspaper pages for each diferent folder, and if its posible, the pdf file named as the content folder. (this part isnt important, it´s valid too if the pdfs are named with a secuential number).
Programs like PdfCompressor from Cvision do that.
regards
I create a batch file with your instructions and the result is only a pdf file with all the pages in crated into the first folder named "New Document From Images.pdf" (isn´t valid)
For example, i have the pages of a newspaper separated in folders named with the newspaper date.
The result must will be one pdf file with the newspaper pages for each diferent folder, and if its posible, the pdf file named as the content folder. (this part isnt important, it´s valid too if the pdfs are named with a secuential number).
Programs like PdfCompressor from Cvision do that.
regards
Last edited by alcoscar on Wed Dec 21, 2016 7:55 am, edited 2 times in total.
Re: Hot to merge folder content
some news
If in the batch file created change the flag with "YES":
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=yes imagesToPDF "f:\Images\Folder_01"
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=yes imagesToPDF "f:\Images\Folder_02"
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=yes imagesToPDF "f:\Images\Folder_03"
When you launch the batch, the program shows a progress bar and when finish to process all the files of each folder, ask you to a destination to save a pdf file crated. This acction repeats many times as lines you have in the batch file.
Its posible to automate that?
RG
If in the batch file created change the flag with "YES":
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=yes imagesToPDF "f:\Images\Folder_01"
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=yes imagesToPDF "f:\Images\Folder_02"
"C:\Program Files\Tracker Software\PDF Tools V6\PDFXTools.exe" /RunTool:showprog=yes imagesToPDF "f:\Images\Folder_03"
When you launch the batch, the program shows a progress bar and when finish to process all the files of each folder, ask you to a destination to save a pdf file crated. This acction repeats many times as lines you have in the batch file.
Its posible to automate that?
RG
-
- User
- Posts: 2391
- Joined: Wed Jan 18, 2006 12:10 pm
Re: Hot to merge folder content
1) Start PDF-Tools manually and click the "Create PDF from images" icon.
In the panel at the right, below "Save Documents":
- "File Location": select "use custom folder specified" and in the text box below it, indicate a destination folder
- "File name": leave this to "%[FileName]" or replace it by "NewsPaper_%[AutoNumber]" (for example)
- "When file already exists": select "Save new with other unique name".
This will make that every new PDF will get its own specific name and be saved in a particular folder (different from the folders where you have your images).
2) At my side, the batch file with one command-line per folder, works correctly, even when showprog=no.
In the panel at the right, below "Save Documents":
- "File Location": select "use custom folder specified" and in the text box below it, indicate a destination folder
- "File name": leave this to "%[FileName]" or replace it by "NewsPaper_%[AutoNumber]" (for example)
- "When file already exists": select "Save new with other unique name".
This will make that every new PDF will get its own specific name and be saved in a particular folder (different from the folders where you have your images).
2) At my side, the batch file with one command-line per folder, works correctly, even when showprog=no.
- Tracker Supp-Stefan
- Site Admin
- Posts: 17901
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Hot to merge folder content
Many thanks for the help Willy,
Let us know if this also works for you RG!
Season's greetings!
Stefan
Let us know if this also works for you RG!
Season's greetings!
Stefan