Skip to content

Instantly share code, notes, and snippets.

@hanleybrand
Forked from anthonywu/osx_pdf_join.sh
Last active August 29, 2015 14:13
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 hanleybrand/746788d9083eb34be2d7 to your computer and use it in GitHub Desktop.
Save hanleybrand/746788d9083eb34be2d7 to your computer and use it in GitHub Desktop.
Mac OS X bash alias for concatenating pdf files - usage: pdf_join output_file.pdf [list of files]
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