Skip to content

Basic use with progress bar

rsync --progress source dest
rsync -P source dest

To remote server - with progress bar

rsync -av -P /home/user/*.tar.gz USER@SERVER:/tmp
# -a, Archive
# -v, Verbose
# -P, Progress bar

Other parameters:

#  -q/--quiet, suppress non-error messages
#  -u/--update, skip files that are newer on the receiver
#  -l/--links, copy symlinks as symlinks
#  -L/--copy-links, transform symlink into referent file/dir
#  --safe-links, ignore symlinks that point outside the tree
#  -n/--dry-run, perform a trial run with no changes made
#  -z/--compress, compress file data during the transfer
#  -r/--recursive, recurse into directories

# For example:
rsync --progress --compress --recursive --update -av /var/log/*.log /home/user/logs