cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
SpannerHead
Level VI

Files In Directory

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.

 

Recommended Articles