• 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
Efficient comparing of two directories
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Efficient comparing of two directories


  • Subject: Efficient comparing of two directories
  • From: "Alan Smith" <email@hidden>
  • Date: Fri, 15 Dec 2006 13:42:43 -0500

Hello everyone,

I want to write a "sync" app but it will have to be very efficient
because it will run constantly keeping the two directories "in sync."
I know this sounds stupid, and I agree, but, it is what my client
wants.

So, what is the best way to do this?

I found a library online that could "monitor" directories and would
notify the program. That would work great if I could find it again.

My other options is to get the content of each directory and compare
them. This would be really slow and wouldn't necessarily catch newer
files in one directory that have the same name in the other.

Any assistance will be greatly appreciated.
Peace, Alan

--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unnecessary, then it
shall evolve."
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Efficient comparing of two directories
      • From: Murat Konar <email@hidden>
    • Re: Efficient comparing of two directories
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: Database Application?
  • Next by Date: Re: NSFileManager & Root Permissions
  • Previous by thread: SDK for iPhoto plugins
  • Next by thread: Re: Efficient comparing of two directories
  • Index(es):
    • Date
    • Thread