Efficient comparing of two directories
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