[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
1 changed files with 3 additions and 3 deletions

View File

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