Skip to content

Instantly share code, notes, and snippets.

@valyard
Last active August 29, 2015 13:55
Show Gist options
  • Save valyard/8704131 to your computer and use it in GitHub Desktop.
Save valyard/8704131 to your computer and use it in GitHub Desktop.
Bash recipes
# batch convert image files
for img in *.tga; do filename=${img%.*}; convert "$filename.tga" "$filename.png"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment