Bringing Things Together

Another "script" I use daily

Posted by Greg on January 20, 2008

In going with the theme of my post yesterday, I thought I would add here another “script” I use to backup documents. It is a variation (simplification) of my main backup script.

This one is just for doing my grad school documents between my laptop and my desktop. It is really easy, look at it HERE.

What it does:
I run it from my laptop. It connects to my desktop (alexandria) via rsync using ssh. Any files that are older on alexandria are backed up with the date&time, and the file is updated.
The reverse then happens (alexandria to laptop) to make sure everything is updated on both sides.

It doesn’t log anything because I watch it in the terminal when I run it since I need to put in my password twice. I could make it so I wouldn’t need to input my password, but that is less secure.

Any questions about it, let me know.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: