Platform-independent script for scanning multiple directories for .csv files

2 vues (au cours des 30 derniers jours)
Brad Rosenheim
Brad Rosenheim le 21 Juil 2015
In the past, I have used a combination of dir and ls functions to count files of certain types. I am aware that ls outputs different numbers when compared between PCs and Apple computers. Is there a platform-independent way to scan the contents of a directory and pull out any .csv files into another directory? I would like it to work on both Windows and Linux machines.
Thank you.

Réponses (1)

Walter Roberson
Walter Roberson le 21 Juil 2015

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!

Translated by