The mp3 files are all in uppercase but I wanted them in lower case. Here's the script I wrote to do that:
new File(".").eachFile{ f->
def cmd = "mv $f.name ${f.name.toLowerCase()}"
cmd.execute()
}
Much easier than with Java!
new File(".").eachFile{ f->
def cmd = "mv $f.name ${f.name.toLowerCase()}"
cmd.execute()
}