Skip to content

Instantly share code, notes, and snippets.

@HerbFargus
Created November 21, 2022 04:57
Show Gist options
  • Save HerbFargus/a880c48a296aec75fa1ac22785ea8b53 to your computer and use it in GitHub Desktop.
Save HerbFargus/a880c48a296aec75fa1ac22785ea8b53 to your computer and use it in GitHub Desktop.
image2pdf sorted
find . -name '*.jpg' -print0 | sort -z -V | xargs -0r img2pdf -o out.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment