Skip to content

Instantly share code, notes, and snippets.



Last active Jan 12, 2019
What would you like to do?
Convert RAW to JPG

Sheel para converter fotos .CR2 para .jpeg

time_stamp=$(date +%Y-%m-%d-%T) && folder_name="JPEG_RAW_2_JPG/${time_stamp}" && mkdir -p "${folder_name}" && for i in *.CR2; do sips -s format jpeg $i --out "${folder_name}/${i%.*}.jpg"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment