diff options
author | Oliver Schrenk <oliver.schrenk@gmail.com> | 2012-07-31 16:31:29 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-07-31 20:13:23 +0200 |
commit | 5c3306ce4d5a0944babc13b10e766b926ec03cb2 (patch) | |
tree | 6714475ff496762164c8ce773e06c3e58b8e815b /.aliases | |
parent | 9c934b832c97030d5486f40a1343afa6ad091244 (diff) | |
download | dotfiles-5c3306ce4d5a0944babc13b10e766b926ec03cb2.tar.gz dotfiles-5c3306ce4d5a0944babc13b10e766b926ec03cb2.tar.bz2 dotfiles-5c3306ce4d5a0944babc13b10e766b926ec03cb2.zip |
.aliases: Add `mergepdf` alias that concatenates PDF files
Credit goes to Fritz Stelluto: http://blog.gotofritz.net/howto/joining-pdf-files-in-os-x-from-the-command-line/.
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -95,6 +95,10 @@ alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && k # URL-encode strings alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1]);"' +# Merge PDF files +# Usage: `mergepdf -o output.pdf input{1,2,3}.pdf` +alias mergepdf='/System/Library/Automator/Combine\ PDF\ Pages.action/Contents/Resources/join.py' + # Disable Spotlight alias spotoff="sudo mdutil -a -i off" # Enable Spotlight |