Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.


macrumors member
Original poster
Jan 11, 2014
hi guys, i am desperately writing this post after 12 hours of trying, googleing, etc... i need to write an apple script that merges all pdfs within a folder and rename that merged pdf into filename-merged.pdf. can anybody out there help me on this? thanks so much for your help!


macrumors 6502a
Jan 25, 2008
A manual solution is not difficult and if this is a one shot event it might be easier than an automated solution.

1. Open the first pdf document in Preview
2. Select the Edit menu option Insert>Page from File...
3. In the dialog that appears select all the remaining pdf files (using Cmd-Click or shift click to select multiple files ---or all of them )
4. Save the resulting pdf file which contains all the previously selected pdf files by choosing File>Export as PDF...
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.