Re: Efficient comparing of two directories
Re: Efficient comparing of two directories
- Subject: Re: Efficient comparing of two directories
- From: John Stiles <email@hidden>
- Date: Fri, 15 Dec 2006 11:25:42 -0800
I'd think you could wire up UKKQueue to watch for changes, then as
soon as you see any change, rsync.
On Dec 15, 2006, at 11:07 AM, Alan Smith wrote:
So I would put a call to rsync in an endless loop syncing the files
every iteration of the loop? Wouldn't that be pretty inefficient?
It would be much better to know when a file/directory changes in the
directory and then sync them. I want the app to "hang out" until the
directory it is watching changes, then sync them. That is the way I
would prefer it but if that isn't possible I'll have to go another
route.
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