Skip to content

Instantly share code, notes, and snippets.

@dizzi
Created August 31, 2009 15:15
Show Gist options
  • Save dizzi/178510 to your computer and use it in GitHub Desktop.
Save dizzi/178510 to your computer and use it in GitHub Desktop.
file.eachFile({
if(it.toString()==~/.*o\.txt/){
println it
totalFiles++
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment