Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 30, 2013, 12:52 PM   #1
ajbudis
macrumors newbie
 
Join Date: Jun 2013
Shell Script to Sync iPhoto

So right now I am trying to sync an iPhoto Library file from multiple computers.

The goal being that it takes the most recently updated file (depending on which computer it was). Currently I am using Google Drive to essentially sync the newest library, however, I was curious to see if this was possible using my own server. I believe RSYNC won't work the way I had originally intended

Code:
rsync -avz --delete --exclude '.DS_Store' xxxxxx@xxxxxx.com:/Users/xxxxxx/Pictures/ /Users/xxxxxx/Pictures
This sometimes deletes the newer file and updates with older file. Keep in mind these pictures are not stored in a normal directory but a file thats 'iPhotoLibrary.photolibrary'

Any suggestions would be greatly appreciated. I am running out of ideas on how to streamline this. Maybe even just an algorithm.

Thanks
Andrew =)
ajbudis is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:47 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC