Created
March 14, 2018 19:02
-
-
Save CodeFreezr/813516ec990cded4252fec18a5828187 to your computer and use it in GitHub Desktop.
Simply list all yamls recursive inside one directory
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
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