Searching large volumes/Large lists
Searching large volumes/Large lists
- Subject: Searching large volumes/Large lists
- From: "Wadson, David" <email@hidden>
- Date: Tue, 13 Aug 2002 11:32:50 -0400
I'm using the Find File scripting addition to search for files on server
volumes and have run into some brutal speed issues. Normally I'm working on
4GB volumes with less than 5,000 files on them and the script works very
well to search for about 40-50 files. However, I now need it to search 36GB
volumes that can have upwards of 20,000 files and it takes forever! It's
quicker to search manually using Sherlock than it is to use the script now.
While I've tried to narrow down the specific locations on the servers where
the script needs to look for the files, it isn't always possible and I have
to scan the entire 36GB volume. Big part of the problem is that for every
file I need to locate, the script has to search through the entire list of
folders and volumes each time.
My new theory on how to do the search is to create a list in the script of
every file that matches the file types I'm looking for (Quark document, EPS
file, PDF file), and then search through that list for the particular file
names. That ought to be way quicker than having researching the drive
everytime using Find File. But what sort of problems am I going to run into
with multiple lists in the script holding 20,000+ files? Memory issues?
Speed?
I'm open to any better methods of doing this...
Thanks in advance,
Dave
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.