Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 30, 2013, 01: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

Similar Threads
thread Thread Starter Forum Replies Last Post
Apple script batch shell script prramesh Mac Programming 5 Sep 15, 2013 04:35 AM
AudioScope.sh shell script... wisecracker MacBook Pro 0 Jul 31, 2013 02:31 PM
Anyone know how to use AppleScript or shell-script? gba2000 Mac Applications and Mac App Store 0 Apr 23, 2013 12:14 PM
Startup a shell script as root mehdies Mac Programming 2 Mar 12, 2013 04:17 AM
Need help with a shell script thatgreenvw Mac Programming 1 Nov 30, 2012 08:55 AM

Forum Jump

All times are GMT -5. The time now is 10:16 AM.

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

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