Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Create multiple pdfs from folders

New Here ,
Jul 25, 2025 Jul 25, 2025

Hi all, 

I have 350 folders, each folder has around 20-50 pdfs in. 
I need a single pdf for each folder... 

Currently im opening each folder up, combine, saving out, moving onto the next... and its taking forever... Is there anyway I can combine the contents of each folder, have it named after each folder, all in one go?

Cause ideally then i need to run it through an action wizard to apply fixes to each pdf...

Thanks all!

TOPICS
Create PDFs , Edit and convert PDFs , How to , JavaScript , PDF
170
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 25, 2025 Jul 25, 2025

You can use a custom script in an action and the doc.insertPages method.  It's not as straightforward as it sounds because the action does something to each PDF in the directory and sub directories so you'll need to write a script that creates a document in each folder, names it the same as the folder, inserts the pages of all other PDFs in the folder, then deletes the first page when completed.  You'll need some scripting that runs at the beginning but not for every document.  This should help:

https://pdfautomationstation.substack.com/p/how-it-solved-the-acrobat-popup-dialogaction

If you need a professional to develop this for you, send me a private message by clicking my icon.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 25, 2025 Jul 25, 2025
LATEST

You can use this (paid-for) script for Acrobat I've created to do just that:

https://www.try67.com/tool/acrobat-batch-combine-all-pdf-files-in-a-folder

As mentioned, you will need to do it in two parts: First, run an Action on all the files. Then click a button to run the script that merges them by folder.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines