PDF combining automation workflow for ingestion by custom GPTs.
See for reference:
- https://apple.stackexchange.com/questions/230437/how-can-i-combine-multiple-pdfs-using-the-command-line/365073#365073
- https://github.com/coherentgraphics/cpdf-binaries
- mergepdfs.zsh needs to be made executable:
chmod +x mergepdfs.zsh
- Download
Research Referencesas a .zip from Google Drive to this repo. - Unzip
Research Referencesinsidepdf-in. ** Your file structure should be:- CerebroLab-CombinePDF -- pdf-in --- Research References ---- ... all the sub dirs.
- Download cpdf
- Install
** For MacOS: copy
cpdffromOSX-ARM/cpdf(for non-Intel) tousr/local/binor another directory accessible in your $PATH.
- from the root of the repo, execute the
mergepdfs.zshscript:./mergepdfs.zsh