Recursive directory listing

Version (2,61 ko) par Gus Brown
Directory listing with a difference, supports directory wildcards.
12,4K téléchargements
Mise à jour 14 avr. 2008

Afficher la licence

Lists the files in a directory and its sub directories.

Ok, so there are many functions like this one already on the file exchange, but this one uses a slightly different wildcard naming system that some people may find useful.

For example,

rdir('C:\Program Files\Windows*\**\*.dll');

will find all dll files in the directories starting with 'C:\Program Files\Windows' and all the dll files in the sub directories below them.

One can filter the list based on the file size and date.

Using the function to find files modified sometime today in the windows directory


Include the sub directories.


Or you could use it to find all the no zero-byte processed csv data files for the data recorded in April 2008.


this finds files like...

Citation pour cette source

Gus Brown (2024). Recursive directory listing (, MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2007a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
En savoir plus sur Search Path dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version