In MATLAB, I can list all the files in a directory like this:
f = dir('/Users/myname/path');
and I can limit results to the files that meet certain conditions like this:
f = dir('/Users/myname/path/StartsWith*.txt');
which would return all the filenames in the directory that start with the string
StartsWith and has the extension
In Julia, I am aware of the
readdir function, but it doesn’t seem to allow wildcards or limiting to certain filetypes. Is there an easy way to accomplish this?