Skip to content

Instantly share code, notes, and snippets.

@shwang
Created January 24, 2017 06:12
Show Gist options
  • Save shwang/6b36e51bc7317a11ff5e5a81fc78e320 to your computer and use it in GitHub Desktop.
Save shwang/6b36e51bc7317a11ff5e5a81fc78e320 to your computer and use it in GitHub Desktop.
function pdf_join {
join_py="/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py"
read "output_file?Name of 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