#!/bin/sh # DATE="$(date +%F_%H-%M-%S)" SRC="/" DST="sdk@192.168.1.20:/tank/BACKUP/" ROPTS="--archive --human-readable --progress --size-only" rsync --archive --human-readable --progress --size-only --link-dest $PWD/current source "$PWD/destination"