Last active
April 17, 2020 19:19
-
-
Save malwaremily/933c4e792b304dd69113c4c5642b25ce to your computer and use it in GitHub Desktop.
rotate PDF from terminal
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 $1.pdf cat 1south output a.pdf; mv a.pdf $1.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example:
To rotate a PDF with filename "april.pdf"
./flip.sh april
To rotate a PDF with filename "1.pdf"
./flip.sh 1