Skip to content

Instantly share code, notes, and snippets.

@mlabod
Created March 2, 2016 13:51
Show Gist options
  • Save mlabod/62470026dad995b3f171 to your computer and use it in GitHub Desktop.
Save mlabod/62470026dad995b3f171 to your computer and use it in GitHub Desktop.
Shell Batch Rename files
find . -name '*.tmpl' -exec sh -c 'mv "$0" "${0%.tmpl}.svg"' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment