Is it possible to iterate files in Groovy recursively? Currently I’m using FileUtils.iterateFiles() from Apache commons-io, but maybe there is some Groovy-native alternative for the same?
Is it possible to iterate files in Groovy recursively? Currently I’m using FileUtils.iterateFiles() from
Share
Absolutely, you should check the documentation for File in Groovy. It’s available here and gives you a few different helper methods to iterate recursively over a file structure.