Last active
October 20, 2024 02:47
-
-
Save PetrGlad/93c0a2c66003d0ea0671f96a2128d9cf to your computer and use it in GitHub Desktop.
Darktable batch export example
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
# Some docs imly source can be a directory, but it does not work actually. | |
# Below is a workaround | |
for p in a-source-folder/* | |
do | |
# Note that uppercase JPG suffix is not recognized so adding "jpg" to output file name. | |
darktable-cli --width 3000 --height 3000 --hq true $p $(dirname $p)-export/$(basename ${p%.JPG}.jpg); | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment