Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
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

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 01:53 AM.

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

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