Last active
June 4, 2020 14:00
-
-
Save jpesce/0b3081cd04b4cf91ac789f4495d98c89 to your computer and use it in GitHub Desktop.
[TIFF to JPG] Batch convert TIFF files to JPG #Image
This file contains hidden or 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
find . -iname "*.tif" -exec convert {}[0] -set filename:f "%d/%t" "%[filename:f].jpg" \; | |
# Max depth: 2 | |
find . -iname "*.tif" -maxdepth 2 -exec convert {}[0] -set filename:f "%d/%t" "%[filename:f].jpg" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment