rsync via ssh

How to synchronize two folders via network:

test mode:

rsync -avrn --delete-after -e «ssh» source_folder/ user@destination_ip:/destination/folders/

work mode:

rsync -avr --delete-after -e «ssh» source_folder/ user@destination_ip:/destination/folders/