Created
April 27, 2014 23:03
-
-
Save codingisacopingstrategy/11357692 to your computer and use it in GitHub Desktop.
Convert raw to jpeg in os x shell
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
for f1 in *.*; do | |
sips -s format jpeg --resampleWidth 1024 "$f1" --out `echo $f1 | sed 's/\(.*\)\..*/\1/'`.jpg >/dev/null | |
# echo `echo $f1 | sed 's/\(.*\)\..*/\1/'`.jpg | |
done | |
echo "stop" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment