The script below assumes that your PDF files are named after the Student ID. They also need to be sorted by Year, School, and Term. It can also be helpful to know the Report Card Type for display purposes.
Some options must be set near the top to define the report cards being imported.
As always, please test this in a Sandbox copy of your database first.