Rsync - tutorial Kategoria: Linux | Tagi: Rsync | Autor: Bartłomiej Gałęzia

http://linux.die.net/man/1/rsync

http://www.thegeekstuff.com/2010/09/rsync-command-examples/

 

sudo aptitude install rsync

rsync -av root@10.20.30.1:/home/* /mnt/home

 

-a option is a combination flag. It stands for "archive" and syncs recursively and preserves symbolic links, special and device files, modification times, group, owner, and permissions.

-z If you are transferring files that have not already been compressed, like text files, you can reduce the network transfer by adding compression with the -z option:

-P flag is very helpful. It combines the flags --progress and --partial. The first of these gives you a progress bar for the transfers and the second allows you to resume interrupted transfers

Dodaj komentarz

Brak komentarzy, bądź pierwszy i dodaj swój komentarz