Created
December 19, 2021 16:54
-
-
Save ety001/4c01e0fe66bec49e1628eab21cc8ef76 to your computer and use it in GitHub Desktop.
convert raw to jpg
This file contains hidden or 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 | |
set -xe | |
files=`ls | grep CR2` | |
for name in $files | |
do | |
IFS='.' read -ra fn <<< "$name" | |
convert $name output/${fn[0]}.jpg | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment