diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2021-11-22 14:45:50 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2021-11-22 14:45:50 +0100 |
commit | 7c7f4cf6499bba309ad37a3386e9fd06e78d8f7f (patch) | |
tree | 4ead1721dd1f941bfb0e815fde95bbb9e79cd4a5 /scripts | |
parent | 1b8846c66303546e184cecd434a5e3ccc7492ccd (diff) | |
download | dotfiles-7c7f4cf6499bba309ad37a3386e9fd06e78d8f7f.tar.gz |
script: nef-convert
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/nef-convert.sh | 7 |
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 |