comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » something faster than file_search ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
something faster than file_search ? [message #93664] Mon, 26 September 2016 08:25 Go to next message
Markus Schmassmann is currently offline  Markus Schmassmann
Messages: 129
Registered: April 2016
Senior Member
is there a faster command than

files=file_search('<searchTerm>')

other than

spawn, 'ls -1 <searchTerm>', files

preferentially one that is portable across different OS?
Re: something faster than file_search ? [message #93665 is a reply to message #93664] Mon, 26 September 2016 10:13 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
You could use David Fanning's listfiles.pro
http://www.idlcoyote.com/code_tips/fastsearch.php

Last year I wrote a plea for Harris Geospatial to improve the performance of file_search() on Windows machines... ---Wayne

https://groups.google.com/forum/#!search/file_search$20wayne /comp.lang.idl-pvwave/ABttLQ5NHHU/xgSFcodk4N0J

On Monday, September 26, 2016 at 11:25:23 AM UTC-4, Markus Schmassmann wrote:
> is there a faster command than
>
> files=file_search('<searchTerm>')
>
> other than
>
> spawn, 'ls -1 <searchTerm>', files
>
> preferentially one that is portable across different OS?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Convert MJD date range to number of days elapsed in IDL
Next Topic: Need help in segmentation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 09:20:38 PDT 2025

Total time taken to generate the page: 0.00498 seconds