1 2 3 4 5 6 7
#!/bin/bash mkdir jpg_converted for i in *.NEF ; do echo "Converting $i" exiftool -b -JpgFromRaw "$i" > "jpg_converted/${i/%.NEF/.jpg}" done