Looking for help scanning entire drives
Looking for help scanning entire drives
- Subject: Looking for help scanning entire drives
- From: Laurent Daudelin <email@hidden>
- Date: Tue, 22 Feb 2011 22:08:16 -0800
I need to write an application that will scan entire drives and compare files between the 2 drives. I have already something working but in situations where there are a lot of files (hundreds of thousands), the memory consumption becomes a problem, leading to slow performance when virtual memory is used and, ultimately, sometimes to crashes in malloc.
Of course, I could go with little chunks, comparing, but I need to present a window showing which copies of files are more recent on one drive and which ones are more recent on the other drive, so I need to keep a list of all the files on one drive that are more recent than their counterparts on the other drive, and vice versa. This preferably would have to be done in Cocoa, since I already have a working solution.
Knowing that I have to support 10.5 but run under 10.6, what would be the best way to have a crack at this problem?
All suggestions are welcome!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden