During corona days, I am managing my courses via Moodle.
Students submit their work to Moodle in pdf format.
Then I download all of them as a single zip file to my disk.
When unzip it, the following pretty good directory structure is obtained under my directory
| |- nameA.pdf
| |- nameB.pdf
A necessary info is that I have already asked my students to have their name in the filename of their submissions.
I would like to collect these files and merge into a single file for grading. More than that what I want is to have a kind of "separator" inserted in between files so that I can easily navigate from one student paper to another next. That is, direct access to any paper.
- Automatic insertion of a table of content would be perfect.
- Or a bookmark for each paper would do.
- Worst comes to worst, I like to insert filename before the file itself.
One can to merge pdf files in one directory into single file as explained in How can I combine multiple PDFs using the command line? or Mac OS X: How to merge pdf files in a directory according to their file names.