How to sync or copy files between servers and/or workstations using RSYNC under CentOS Linux

Here’s a few quick tips on how to sync files between servers or workstations using rsync.

Frequently Used Arguments

  • --delete : delete files that don’t exist on sender (system)
  • -v : Verbose (try -vv for more detailed information)
  • -e "ssh options" : specify the ssh as remote shell
  • -a : archive mode
  • -r : recurse into directories
  • -z : compress file data

Sync local files to NEW server

Sync remote files from OLD server


Orlando, FL

Did this post help you?

Give back and rate it for me!

Related Posts