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
Did this help you? Please let me know with a comment. Thank you
Posted .

Comments (RSS)

Leave a comment