Skip to content

Instantly share code, notes, and snippets.

@vnglst
Forked from anthonywu/osx_pdf_join.sh
Created May 16, 2016 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vnglst/3b139d4ef26f6573a3209c79a62adb9b to your computer and use it in GitHub Desktop.
Save vnglst/3b139d4ef26f6573a3209c79a62adb9b to your computer and use it in GitHub Desktop.
Mac OS X – bash function to join pdfs on the command line
function pdf_join {
join_py="/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py"
read -p "Name of output file > " output_file && "$join_py" -o $output_file $@ && open $output_file
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment