[Scilab-users] find all files of specific type on hard drive

CRETE Denis denis.crete at thalesgroup.com
Mon Sep 27 17:01:20 CEST 2021


Hello,
May be with unix_g ?
HTH
Denis

De : users <users-bounces at lists.scilab.org> De la part de P M
Envoyé : lundi 27 septembre 2021 16:51
À : International users mailing list for Scilab. <users at lists.scilab.org>
Objet : [Scilab-users] find all files of specific type on hard drive

Dear All,

I need to find and list all files of a specific type on my hard drive....How to do that in the most elegant way?

E.g.:

- find all *.txt files in "D:\"
- also find all '*.txt' files in each sub - directory, sub-sub-directory, ..etc
- create a list that stores the absolute path names to the *.txt files.

I am aware of
- dir
- findfiles
- listfiles
- ls

But they only seem to list the files in a dedicated folder.

Is there a function, that also searches all sub-folders automatically?

Thank you,
Philipp



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20210927/6376cc0e/attachment.htm>


More information about the users mailing list