Skip to content

Instantly share code, notes, and snippets.

@Bandie
Created March 24, 2018 14:44
Show Gist options
  • Save Bandie/bf462ee526bd3e4dbb678c887b4a30ff to your computer and use it in GitHub Desktop.
Save Bandie/bf462ee526bd3e4dbb678c887b4a30ff to your computer and use it in GitHub Desktop.
Application makefile
all:
/usr/bin/pdftk Applicationtext.pdf ../CV.pdf ../FinishedUniClasses.pdf ../A-Level-Diploma.pdf cat output temp.pdf
/usr/bin/pdftk temp.pdf dump_data output meta.txt
echo -e "InfoBegin\nInfoKey: Title\nInfoValue: Application for apprenticeship, Bandie\nInfoBegin\nInfoKey: Author\nInfoValue: Bandie <email@address.tld>\n`cat meta.txt`" > meta.txt
/usr/bin/pdftk temp.pdf update_info meta.txt output Application_Bandie.pdf
rm meta.txt temp.pdf
@echo OK.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment