cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

Files In Directory

SpannerHead
Level V

I got some great advice here.

 

Solved: Get and Filter Files in Directory - JMP User Community

 

Wondering if there's a way to speed this up.  I pull data from a series of testers with unique paths.  I could limit the time searching if I were to be more surgical about where to look.  Is there a ready way to search more than one specific directories instead of the root directory recursively?  Also, is there a way to limit how many subdirectories in the same spirit as "depth, max_depth" from Python scripting?


Slán



SpannerHead
2 REPLIES 2
jthi
Super User


Re: Files In Directory

You can build a crawler if you can limit your folders: start from root and pick folders of interest, check inside them and keep going until you have the files you are interested in. It might be faster or not. You could also use Python to get the file list or possibly explore other options, some examples hereDirectory Tree: Explore Space Used by Folders 

-Jarmo
hogi
Level XII


Re: Files In Directory

https://docs.python.org/3/library/glob.html

is very powerful.

you can pass the parameters to Python, let Python search the files and then send the matches back to JMP.
This approach did speed up my search by many orders of magnitude.