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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old Dec 2, 2012, 03:55 AM   #1
Dan A
macrumors newbie
 
Join Date: Dec 2012
Backing up using rsync

Hi, I was wanting to create like a batch file for Apple Mac for rsync but not sure how you do this.


I just want the file to sit on my desktop and click it every time to make a backup.


These are the commands I wish to use.


rsync -a -v /Users/administrator/Pictures /Volumes/Photos\ Disk\ 1
rsync -a -v /Users/administrator/Pictures /Volumes/Photos\ Disk\ 2

Also I am using the -a rather than -r as it preserves the time modified stamp, whereas -r will switch it to the time it was transferred to my knowledge.

With the -a option if my computer died and I had to reimage would I still be able to access everything off the external HDD that is being used as the backup?


Any assistance would be great, i've been googling but havent really come up with much.

Thanks
Dan
Dan A is offline   0 Reply With Quote

 
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
Superduper and Rsync backups dimme Mac Applications and Mac App Store 15 Aug 12, 2014 12:47 PM
rsync basics Kilamite Mac Applications and Mac App Store 1 Apr 21, 2013 10:17 AM
Using mdfind to accelerate rsync haravikk Mac Programming 2 Apr 20, 2013 02:06 PM
Can rSync clone a TM backup? gwelmarten OS X 2 Jan 27, 2013 08:06 AM
Applescript rsync and property Polansky Mac Programming 1 Jan 14, 2013 07:54 AM

Forum Jump

All times are GMT -5. The time now is 03:13 AM.

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

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