You can do this, but your asking on wrong forum. Youd much more likely get a good answer on superuser than here. Merging PDF files isn't exactly a magic science.
Tools that would come handy:
- Acrobat DC Pro,as a gui tool for merging pdf files but then you'd have to run it 100 times. Can also be scripted to do this, but the scripting environment is a bit horrible (some info here). I would make a demo but i havent got acrobat DC at home (yeah i arrived took me nearly the whole trip to craft the original message).
- PDF Fill
- PDF-Xchange, has a gui tool for merging pdf files but then you'd have to run it 100 times.
- Scripting language like python with pyPDF
- Indesign
- GhostScript
- pdfunite
- Batch scripting
- ...
Currently im writing this over on my phone and I'm a bit low on tools. So I'm going to show how to do this with python and pyPdf (because all I have on my phone is bash, tcsh, zsh and python. Aside the browser which implements javaScript).
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pyPdf import PdfFileWriter, PdfFileReader
for i in range(1,101):
output = PdfFileWriter()
outputStream = file("output%d.pdf"%i, "wb")
for item in [r"folder1\file%d.pdf"%i,r"folder2\file%d.pdf"%i]:
fp = file(item,'rb')
input = PdfFileReader(fp)
output.addPage(input.getPage(0))
output.write(outputStream)
fp.close()
if you have got python but not pyPdf then run pip install pyPdf
or easy_install pyPdf
before running the script.
Sequence Numbers
naming feature, which allows you to change the step value. With it, you could rename the files in the first folder to;1, 3, 5, 7...
and files in the second folder to:2, 4, 6, 8...
, by changing the start number to 2. After that you'd just put the files in the same folder and use the Combine feature + the split feature in acrobat.