Created
January 29, 2017 06:42
-
-
Save arth2o/fb2bd24f132716015377562317b32878 to your computer and use it in GitHub Desktop.
Batch convert raw NEF files to JPGs with exiftool from Linux command-line. 1, Exiftool have to be installed. Put this pieces of code to a file for example neftojpg.sh. chmod +x neftojppg.sh. Run: ./neftojpg.sh /directory/where/pictures/are/.
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 | |
DIR="$@" | |
for f in $DIR*.NEF | |
do | |
name=`echo "$f" | sed -e "s/.NEF$//g"` | |
exiftool -b -JpgFromRaw "$f" > "${name}.jpg" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cool, I love U so much. you're mine rollingstone