From f62cbfdd5a2c36f934130da578eb250cdf5a3f73 Mon Sep 17 00:00:00 2001 From: Djan GICQUEL <> Date: Wed, 27 Apr 2022 20:13:54 +0200 Subject: [PATCH] cd dans le repertoire borg_dir et sauvegarde du repertoire courant --- borg-gui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg-gui.sh b/borg-gui.sh index a0fb469..57f78b8 100755 --- a/borg-gui.sh +++ b/borg-gui.sh @@ -197,7 +197,7 @@ fi zenity --warning $W $iconborg --text "L'archive existe déjà." else if [ "$VarDossierPresent" != "false" ];then - borg create $borg_excludes $borg_compress $borg_repo::$borg_archive $borg_dir | ZenityPulsate + cd $borg_dir && borg create $borg_excludes $borg_compress $borg_repo::$borg_archive ./ | ZenityPulsate sync | ZenityPulsate zenity --notification --text "Sauvegarde $nomsauvegarde terminée" zenity $W --info --text "Sauvegarde $nomsauvegarde terminée"