From 3ab8aafaaf09ac669c8e1288e4a6de463335fbb7 Mon Sep 17 00:00:00 2001 From: z4yx Date: Mon, 20 Apr 2020 10:28:09 +0800 Subject: [PATCH] add --delete-excluded to mysql.sh --- mysql.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql.sh b/mysql.sh index ee28302..0042720 100755 --- a/mysql.sh +++ b/mysql.sh @@ -12,7 +12,7 @@ BASE_URL="${TUNASYNC_UPSTREAM_URL:-"https://repo.mysql.com"}" MYSQL_DOWNLOAD_PATH="${BASE_PATH}/downloads/" MYSQL_RSYNC_UPSTREAM="rsync://ftp5.gwdg.de/pub/linux/mysql/Downloads/" -RSYNC_OPTS="-aHvh --no-o --no-g --stats --exclude .~tmp~/ --delete --delete-after --delay-updates --safe-links --timeout=120 --contimeout=120" +RSYNC_OPTS="-aHvh --no-o --no-g --stats --exclude .~tmp~/ --delete --delete-excluded --delete-after --delay-updates --safe-links --timeout=120 --contimeout=120" USE_IPV6=${USE_IPV6:-"0"} if [[ $USE_IPV6 == "1" ]]; then RSYNC_OPTS="-6 ${RSYNC_OPTS}"