How can I easily expand a string like images/*
into a list of the files in that folder? Similar to if I were to pass that as an argument to main
and have the shell expands it.
EDIT: I am wondering if there is a nicer way than manually iterating the directory. Also something cross platform.