Skip to content

Instantly share code, notes, and snippets.

Created August 12, 2016 16:52
What would you like to do?
Convert image to different format.
for i in *.png; do convert -verbose $i ${i%%.png}.jpg; done && open .
Copy link

${i%%.png}.jpg makes sure you don't include the original file extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment