Using dir with multiple wildcards for directories
9 views (last 30 days)
Show older comments
I'd like to be able to use dir to list all files in the grandchildren directories of my cwd, as in
dir('*/*')
As far as I can tell, this is impossible, is there a recommended workaround for this?
Thanks, Leo
0 Comments
Accepted Answer
Geoff Hayes
on 20 Nov 2014
Leo - look in the File Exchange for a recursive directory listing submission. One such example is rdir.
More Answers (0)
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!