# Do not forget the trailing dash in the source and target destinaton paths!
# Synchronize current directory to server
rsync -avPh --stats --delete ./ HOST:REMOTE_PATH/
# Synchronize a local directory to server
rsync -avPh --stats --delete LOCAL_PATH/ HOST:REMOTE_PATH/
# Sync remote server with local path
rsync -avPh --stats --delete HOST:REMOTE_PATH LOCAL_PATH
# Ignoring tables and files larger than...
rsync -avPh --no-perms --progress --max-size=1.5m --exclude=_processed_ --exclude=_temp_ --delete HOST:REMOTE_PATH LOCAL_PATH