- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.