I want to make a list of all the files present in a directory, using groovy.
What would a good code to do the task?
Thanks in Advance.
I want to make a list of all the files present in a directory, using groovy.
What would a good code to do the task?
Thanks in Advance.
Copyright © 2021 Jogjafile Inc.
Here is how you do that:
That will include directories AND files. If you just want files then you can do this: