Thursday, 11 August 2011

Using Rsync

Some quick rsync examples

rsync -av /memstick/ /mymaindisk/
This will rsync the memstick directory to mymaindisk directory preserving all aspects of the files with the archive switch and the verbose switch will show whats happening.

rsync -avz /memdisk/ me@myserver:/backupdir/
This will do rsync over ssh rather than scp, using -a archive switch -z switch this signifies use compression over the link.

No comments:

Post a Comment

BT Infinity Finally!

I have finally received super-fast broadband and it was enabled on Wednesday morning around 10am. I never noticed till a day later when I lo...