Skip to main content
Improved man page formatting; linked to man page.
Source Link

rsync -a should be as accurate as accuracy can get.     -a stands for the archive mode. A  A good description is given in its man pageits man page:

rsync -avz foo:src/bar /data/tmp This would recursively transfer all files from the directory src/bar on the machine foo into the /data/tmp/bar directory on the local machine. The files are transferred in "archive" mode, which ensures that sym‐ bolic links, devices, attributes, permissions, ownerships, etc. are preserved in the transfer. Additionally, compression will be used to reduce the size of data portions of the transfer. 
    rsync -avz foo:src/bar /data/tmp

This would recursively transfer all files from the directory src/bar on the machine foo into the /data/tmp/bar directory on the local machine.  The files are transferred in "archive" mode, which ensures that symbolic links, devices, attributes, permissions, ownerships, etc. are preserved in the transfer.  Additionally, compression will be used to reduce the size of data portions of the transfer.

The compression flag is -z and -v switches verbosity on. Study the  Study man pagethe man page to find out much more.

rsync -a should be as accurate as accuracy can get.  -a stands for the archive mode. A good description is given in its man page:

rsync -avz foo:src/bar /data/tmp This would recursively transfer all files from the directory src/bar on the machine foo into the /data/tmp/bar directory on the local machine. The files are transferred in "archive" mode, which ensures that sym‐ bolic links, devices, attributes, permissions, ownerships, etc. are preserved in the transfer. Additionally, compression will be used to reduce the size of data portions of the transfer. 

The compression flag is -z and -v switches verbosity on. Study the man page to find out much more.

rsync -a should be as accurate as accuracy can get.   -a stands for the archive mode.  A good description is given in its man page:

    rsync -avz foo:src/bar /data/tmp

This would recursively transfer all files from the directory src/bar on the machine foo into the /data/tmp/bar directory on the local machine.  The files are transferred in "archive" mode, which ensures that symbolic links, devices, attributes, permissions, ownerships, etc. are preserved in the transfer.  Additionally, compression will be used to reduce the size of data portions of the transfer.

The compression flag is -z and -v switches verbosity on.  Study the man page to find out much more.

Source Link
user147505
user147505

rsync -a should be as accurate as accuracy can get. -a stands for the archive mode. A good description is given in its man page:

rsync -avz foo:src/bar /data/tmp This would recursively transfer all files from the directory src/bar on the machine foo into the /data/tmp/bar directory on the local machine. The files are transferred in "archive" mode, which ensures that sym‐ bolic links, devices, attributes, permissions, ownerships, etc. are preserved in the transfer. Additionally, compression will be used to reduce the size of data portions of the transfer. 

The compression flag is -z and -v switches verbosity on. Study the man page to find out much more.