Created
April 18, 2013 02:35
-
-
Save anthonywu/5409586 to your computer and use it in GitHub Desktop.
Mac OS X – bash function to join pdfs on the command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Zsh version
Usage:
pdf_join merged.pdf 1.pdf 2.pdf