[BASH] Name all the backup discs the same

This commit is contained in:
Gregory Trolliet 2021-12-21 12:38:05 +01:00
parent 957be907bf
commit 438a2c76fc

View file

@ -199,10 +199,10 @@ function dirsBackup() {
repo[nextcloud_bck]=nextcloud_bck
repo[nextcloudSS_bck]=nextcloudSS_bck
LOCAL="/media/HDD1/"
DISTANT="/media/raghnarok/ragBck"
DISTANT="/media/raghnarok/ragBck/"
read -p "Disque cible (01 ou 02): " dst
DISTANT="$DISTANT$dst/"
# read -p "Disque cible (01 ou 02): " dst
# DISTANT="$DISTANT$dst/"
for key in "${!repo[@]}";
do