Created
August 9, 2017 20:42
-
-
Save mayurah/03ed7270e296be0804a73792bf82386a to your computer and use it in GitHub Desktop.
Mass convert CR2 (Raw Image File) to JPEG in macOS command-line.
This file contains 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
# Mass convert CR2 (Raw Image File) to JPEG in macOS command-line. | |
mkdir Converted | |
for i in *.CR2; do sips -s format jpeg $i --out Converted/$i.jpg;done |
Cool, thanks! 👍
Thank you very much for sharing very useful!
this is awesome. Thank you.
Very useful, thanks! 👍
One could extend the command above to
for i in *.CR2; do sips -s format jpeg $i --out Converted/${i%.*}.jpg;done
so that the converted file of example.CR2 will now be named example.jpg instead of example.CR2.jpg.
awesome
Glad I found this today, took hundreds of raw photos of the eclipse. Thanks so much!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, this is super useful!