2 views

rsync show changes only(DRY RUN)

Rsync Dry Run:

rsync --dry-run -avz /path/to/source_directory -e ssh USERNAME@REMOTE-SERVER:/path/to/destination

In this example, we are running rsync dry run, which displays what would be pushed to remote server

[developer@aws-centos7~]$ rsync --dry-run -avz /home/developer/askdevops/cdn.askdevops.org -e ssh USERNAME@askdevops.org:/home/USERNAME/

sending incremental file list
cdn.askdevops.org/photos/
cdn.askdevops.org/photos/askdevops.jpg

sent 816 bytes  received 161 bytes  390.80 bytes/sec
total size is 419,998  speedup is 429.89 (DRY RUN)
Nov 9, 2015 by | 2 views
Articles for DevOps Geeks
MobaXterm Customization
CHMOD Explained!
Bash history powerful tips
Ubuntu bash from Windows
..