You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

9 lines
271 B

#!/bin/sh
targetfolder=/backup/borg/
if [ "$1" ]; then
echo "setting targetfolder to ${1}"
targetfolder=${1}
fi
syncdirs -d -f /tank/borg/ -t ${targetfolder}
#rsync -a -v -z --progress --update --delete --human-readable --stats --progress /tank/borg ${targetfolder}