Created
September 14, 2016 13:34
-
-
Save Inkimar/ad5dd185b8d8605a5c85d331d53ee4b7 to your computer and use it in GitHub Desktop.
groovy test 1
This file contains 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
#!/usr/bin/groovy | |
def name='World'; println "change file names" | |
String oldFilename = "old.txt" | |
String newFilename = "new.txt" | |
new File(oldFilename).renameTo(new File(newFilename)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment