aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/nef-convert.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/nef-convert.sh b/scripts/nef-convert.sh
new file mode 100755
index 0000000..ef1657e
--- /dev/null
+++ b/scripts/nef-convert.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+mkdir jpg_converted
+for i in *.NEF ; do
+ echo "Converting $i"
+ exiftool -b -JpgFromRaw "$i" > "jpg_converted/${i/%.NEF/.jpg}"
+done