How to find files with specified filenames within a folder?
242 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello. My problem is the following. I have downloaded tons of data from Intermagnet (I'm conducting research connected with magnetic obervatories). They produce one file every day for each observatory, so I have 80 observatories(=>80 folders) and 365 files in each of the folders. The matter is that the structure of every observatory folder can be totally different. Files can be sorted by months (into 12 subfolders) or can be sorted by other means or they can be not sorted at all. Still, I have to reach files regardless of their location within a folder. By that I mean:
aaa % this is an observatory folder
->aaa01 % - January folder
->IAGA2002 %Format of the files
->aaa01dmin.min %Here is the file, afterall
OR the structure can be like
aaa
->IAGA2002
->aaa01dmin.min
OR the structure can be different from this. How do I get the file, if I know that its name is aaa01dmin.min and it is located SOMEWHERE in aaa folder? I am looking forward to hearing from you.
0 commentaires
Réponses (1)
Voir également
Catégories
En savoir plus sur File Operations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!