- Location of main PDF to break up
- Location for new generated PDFs
- Location of master spreadsheet to get org names
- File must be an .xls file .xlsx will not work
Make sure python is installed on your machine and added to the PATH. Go into cmd
on Windows or Terminal
in MacOS. Make sure you cd
into this folder and run the command below:
python3 main.py <master pdf path> <new pdf folder path> <master sheet path>
> cd C:\Users\<your user>\Documents\safac-pdf-converter
> python3 main.py '.\FY 23 Master Sheet.xls' filesnew '.\filesnew\FY 23 Master Sheet.xls'
$ cd ~/Documents/safac-pdf-converter
$ python3 main.py "'./FY 23 Master Sheet.xls'" filesnew "'./FY 23 Master Sheet.xls'"
All the PDF should now be located in your New PDF folder. If the converstion fails make sure you delete the contents of your New PDF folder and start over again.