Skip to content

Instantly share code, notes, and snippets.

@jonatasemidio
Last active February 12, 2016 12:23
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 jonatasemidio/aacb525dcab7c184fd82 to your computer and use it in GitHub Desktop.
Save jonatasemidio/aacb525dcab7c184fd82 to your computer and use it in GitHub Desktop.
Generate a Log in a specific file all the recursive files in a dir
f = new File('dir_file_'+ System.currentTimeMillis() +'.log')
new File('.').eachFileRecurse { f << it.getCanonicalPath() + '\n' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment