Sync gigabytes of files using rsync

Use rsync to sync gigabytes, terabytes of files.

# sync.sh
time rsync \
    --compress \
    --progress \
    --recursive \
    --verbose \
    --size-only \
    --partial \
    /path/to/source/ \
    user@127.0.0.1:/path/to/destination/
# run.sh
while :; do date; bash sync.sh; sleep 1; done

Comments

Leave a Reply