You can easily do this with actions. No scripting necessary.
Create an action that saves a PDF and apply your desired PDF save settings. Then from the actions panel, click the menu at the top right and click "Batch". Set the source folder to your folder of SVGs and set the destination folder to an empty folder where you want your PDFs to go. Select the action you created for saving PDFs and then run the batch.