merge/combine several PDF files

I have two folders having 1000 pdf files each, having identical names. I need to merge/combine all PDF files with the identical name in the third folder ie the resultant folder (folder 3) will contain 1000 files with each file will be the merged form of folder 1 and folder 2 file that had identical name.


1.Within Acrobat, click on the Tools menu and select Combine Files. 2.Click Combine Files, and then click Add Files to select the files you want to include in your PDF. 3.Click, drag, and drop to reorder the files and pages. Double-click on a file to expand and rearrange individual pages. Press the 4.Delete key to remove unwanted content. When finished arranging files, click Combine Files. 5.Click the Save button.

this link should explain how to combine/merge PDF's


You can use any command line tool that supports PDF merging to accomplish this task, see Merge / convert multiple PDF files into one PDF for some of the tools.

Since you want to work on many files, in a standard shell like bash you would do something like the following (using pdftk as example but substitute it for the tool you want to use):

$ mkdir folder3
$ cd folder1
$ for FILE in *; do pdftk "${FILE}" "../folder2/${FILE}" "../folder3/${FILE}"; done
链接地址: http://www.djcxy.com/p/46952.html

上一篇: 在不破坏可访问性或PDF标签的情况下连接PDF

下一篇: 合并/合并几个PDF文件