Created
July 28, 2017 20:38
-
-
Save Mebus/0d80bddf568aef6cfc15aa08dbaf0420 to your computer and use it in GitHub Desktop.
PDFMagic
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
#!/bin/bash | |
pdftk A=PDFsam_merge-step1-step2.pdf cat Aodd output odd.pdf | |
pdftk A=PDFsam_merge-step1-step2.pdf cat Aeven output even.pdf | |
pdfcrop --margins "100 0 0 0" --clip odd.pdf | |
pdfcrop --margins "0 0 100 0" --clip even.pdf | |
pdftk A=odd-crop.pdf B=even-crop.pdf shuffle A B output druckmich.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment