[BASH] Name all the backup discs the same

master
Gregory Trolliet 12 months ago
parent 957be907bf
commit 438a2c76fc
  1. 6
      .bashrc

@ -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

Loading…
Cancel
Save