aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-11-22 14:45:50 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-11-22 14:45:50 +0100
commit7c7f4cf6499bba309ad37a3386e9fd06e78d8f7f (patch)
tree4ead1721dd1f941bfb0e815fde95bbb9e79cd4a5
parent1b8846c66303546e184cecd434a5e3ccc7492ccd (diff)
downloaddotfiles-7c7f4cf6499bba309ad37a3386e9fd06e78d8f7f.tar.gz
script: nef-convert
-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