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

Home » Public Forums » archive » Finding a large number of files - ls vs file_search?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Finding a large number of files - ls vs file_search? [message #77109] Tue, 09 August 2011 01:56 Go to previous message
rjp23 is currently offline  rjp23
Messages: 97
Registered: June 2010
Member
I have ascii output from some code that numbers in the tens of
thousands of files (e.g. 60,000).

I want to read these in in IDL, check the result and only select the
files where the result meets a certain condition.

I have this all coded up and it works fine for smaller sets of data
but it can take a long long time for file_search to return a result
when searching 60,000 files.

My question is would it be more efficient to spawn an ls command or
something else rather than using file_search within IDL?

Cheers

Rob
[Message index]
 
Read Message
Read Message
Previous Topic: Re: How to eliminate smaller blob from label_region image
Next Topic: IDL not interpreting numbers correctly?

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

Current Time: Fri Oct 10 15:46:52 PDT 2025

Total time taken to generate the page: 0.96168 seconds