Skip to content

Instantly share code, notes, and snippets.

@CodeFreezr
Created March 14, 2018 19:02
Show Gist options
  • Save CodeFreezr/813516ec990cded4252fec18a5828187 to your computer and use it in GitHub Desktop.
Save CodeFreezr/813516ec990cded4252fec18a5828187 to your computer and use it in GitHub Desktop.
Simply list all yamls recursive inside one directory
new File("d:\\svn").eachDirRecurse() { dir ->
dir.eachFileMatch(~/.*.yml/) { file ->
println file.getPath()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment