Skip to content

Instantly share code, notes, and snippets.

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

${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