Hello,
Does anybody know a way (perhaps using JavaScript) to merge PDFs together based on their filename?
I have created several PDF files (extracting from a large file) with student timetable on it and named the files with their student ID and page number (some are 2 pages and some are only one page):
012345 - page1.pdf
012345 - page2.pdf
011112 - page1.pdf
022223 - page1.pdf
022223 - page2.pdf
I need to merge the files together based on the filename, i.e.
012345 - page1.pdf
012345 - page2.pdf
MERGED into a single file (based on the first 6 characters of the filename).
There is over a 1000 files therefore would take a long time to do manually.
Any ideas (I am sure this can be done using the JavaScript Console however I am not sure how).
Thanks,
Gary
Does anybody know a way (perhaps using JavaScript) to merge PDFs together based on their filename?
I have created several PDF files (extracting from a large file) with student timetable on it and named the files with their student ID and page number (some are 2 pages and some are only one page):
012345 - page1.pdf
012345 - page2.pdf
011112 - page1.pdf
022223 - page1.pdf
022223 - page2.pdf
I need to merge the files together based on the filename, i.e.
012345 - page1.pdf
012345 - page2.pdf
MERGED into a single file (based on the first 6 characters of the filename).
There is over a 1000 files therefore would take a long time to do manually.
Any ideas (I am sure this can be done using the JavaScript Console however I am not sure how).
Thanks,
Gary