• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Looking for help scanning entire drives
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Looking for help scanning entire drives
      • From: Andreas Grosam <email@hidden>
    • Re: Looking for help scanning entire drives
      • From: Matt Gough <email@hidden>
  • Prev by Date: Re: A TableView Binding question
  • Next by Date: Re: A TableView Binding question
  • Previous by thread: Re: Spotcolors in Cocoa
  • Next by thread: Re: Looking for help scanning entire drives
  • Index(es):
    • Date
    • Thread