Created
February 16, 2018 19:05
-
-
Save kidsil/90d8d3e9d3eaddb8b0ff3771910d0142 to your computer and use it in GitHub Desktop.
Convert PNGs to a single PDF (sorted by creation date [ascending])
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
ls *.png -tr | tr '\n' ' ' | sed 's/$/\ output_file.pdf/' | xargs convert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment