Created
March 15, 2018 21:38
-
-
Save phatblat/0e8b53cff6f398f81c2c3c218845926c to your computer and use it in GitHub Desktop.
Renames a set of groovy files to kotlin, preserving folder hierarchy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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