Help Scripting: Sync Photos Program


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Help Scripting: Sync Photos Program
# 1  
Old 06-30-2013
Help Scripting: Sync Photos Program

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

Thanks
Andrew =)
# 2  
Old 07-01-2013
Code:
man rsync

tells about -u option.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Bash Scripting program

#! /bin/bash # program to creat a backup copy for every deleted file or dierctores mv -t /home/$USER/.local/share/Trash/files $1 rsync -a /home/$USER/.local/share/Trash/files /usr/share/trash didn't work (2 Replies)
Discussion started by: rami-ali
2 Replies

2. Shell Programming and Scripting

To check if the JAVA Program is successfully executed in sh shell scripting

Hi , I have written a shell script to call a java program say load_id.sh .This sh script indeed is executed implicitly in other sh script which calls 2 more sh scripts one by one. I need to check if the load_id.sh (which calls java program) is executed successfully only then continue with... (1 Reply)
Discussion started by: preema
1 Replies

3. Shell Programming and Scripting

scripting an interactive program session

Hello, I'm looking to script the basic instant messaging program we have in my company, it's called "oi", it's working as follow: # oi $user then we have to launch it... after finding the system of the user it's asking for the message... then on a new line we have to hit ctrl+d I... (2 Replies)
Discussion started by: nomadvisuals
2 Replies

4. Shell Programming and Scripting

Delete Photos Script

Good Morning, I need to move a social networking site to another server and I need to delete a bunch of photos. The old site used to allow, our members, to upload up to 100 photos. Now I want to limit it to 10. How can I delete the remaining photos? Here is what it looks like: 2474-14637.jpg... (7 Replies)
Discussion started by: mpw5013
7 Replies

5. Shell Programming and Scripting

Grammatical error in scripting program.

Hi, I have one script program (lod0361.job) ,where i am using errorlog() function with some arguments like below. call errorlog ("---- unload to \"TESTNAME.out\" select * from TESTNAME") but when i run the lod0361.job then i am getting below errors. call errorlog ("---- load from... (1 Reply)
Discussion started by: deepakagrawal13
1 Replies

6. Shell Programming and Scripting

Shell scripting Program

Hi all, I am new comers to this forums. I need one help from urs. My requirement is to fetch the records from the log file for every 15 mins and write the datas to the new file... The log file which is located in the 21/09/2008 directory. In 21/09/2008 directory, number of log files... (1 Reply)
Discussion started by: balaji23_d
1 Replies

7. Shell Programming and Scripting

Shell scripting Program

Hi all, I am new to this forums. I need one help from urs. My requirement is to fetch the records from the log file for every 15 mins and write the datas to the new file... The log file which is located in the 21/09/2008 directory. In 21/09/2008 directory, number of log files are... (1 Reply)
Discussion started by: balaji23_d
1 Replies

8. Solaris

Sync to Green vs. Separate Sync

Hi all....I have a Sun Ultra2 that I want to use with my PC monitor. I have purchased an adapter that does not work and I was told I need to change my video card setting (if I can) to Separate Sync.....my Monitor product number ends in 1343......I am running SunOS 5.7 ......anyone have any ideas? ... (0 Replies)
Discussion started by: psantinello
0 Replies

9. UNIX for Advanced & Expert Users

How can I convert photos extension?

Hi all I am working in UNIX O.S and I want to transfer any photos from UNIX O.S to Windows O.S . can any one tell me how can I do this ? (3 Replies)
Discussion started by: bintaleb
3 Replies
Login or Register to Ask a Question