Skip to content

Instantly share code, notes, and snippets.

@linakis
Last active May 17, 2017 22:12
Show Gist options
  • Save linakis/6cc4bcfbd846d8c5a50d1a36e72a64b8 to your computer and use it in GitHub Desktop.
Save linakis/6cc4bcfbd846d8c5a50d1a36e72a64b8 to your computer and use it in GitHub Desktop.
Rename files for android resource
for f in *; do mv "$f" "$(echo $f | tr "[:upper:]" "[:lower:]" | sed 's/[-\ ]/_/g')"; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment