Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@phatblat
Created March 15, 2018 21:38
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 phatblat/0e8b53cff6f398f81c2c3c218845926c to your computer and use it in GitHub Desktop.
Save phatblat/0e8b53cff6f398f81c2c3c218845926c to your computer and use it in GitHub Desktop.
Renames a set of groovy files to kotlin, preserving folder hierarchy
for file in **/*.groovy
mv $file (dirname $file)/(basename $file groovy)kt
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment