Skip to content

Instantly share code, notes, and snippets.

@jakub-g
Created April 4, 2017 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakub-g/9c2b22b1704501cc6f72e02be5d29a4a to your computer and use it in GitHub Desktop.
Save jakub-g/9c2b22b1704501cc6f72e02be5d29a4a to your computer and use it in GitHub Desktop.
find and rename version controlled files
git ls-files | grep _jp | sed -e 'p;s/_jp/_ja/' | xargs -n2 mv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment