From 32957fd39e3549f89f21f0f05b7db3e4d29798c3 Mon Sep 17 00:00:00 2001 From: Djan GICQUEL <> Date: Sun, 21 Jan 2024 19:40:19 +0100 Subject: [PATCH] =?UTF-8?q?ajout=20de=20l'option=20--exclude-caches=20?= =?UTF-8?q?=C3=A0=20la=20sauvegarde=20les=20fichiers=20contenant=20CACHEDI?= =?UTF-8?q?R.TAG=20sont=20exclus=20par=20d=C3=A9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- borg-gui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg-gui.sh b/borg-gui.sh index 38393b7..663e873 100755 --- a/borg-gui.sh +++ b/borg-gui.sh @@ -245,7 +245,7 @@ fi else if [ "$VarDossierPresent" != "false" ];then log="/tmp/borg-zenity-$borg_archive-$(date +%H-%M-%S).log" - borg create ${borg_excludes} ${borg_compress} "$borg_repo"::"$borg_archive" . 2> "$log" | zenity $W $iconborg --progress --pulsate --auto-close --no-cancel --text "Sauvegarde en cours..." --title "borg-zenity" + borg create ${borg_excludes} ${borg_compress} --exclude-caches "$borg_repo"::"$borg_archive" . 2> "$log" | zenity $W $iconborg --progress --pulsate --auto-close --no-cancel --text "Sauvegarde en cours..." --title "borg-zenity" chmod 777 "$log" if [ $(wc -c "$log" | cut -f1 -d " ") -gt 1 ] ;then zenity $W --error --title "borg-zenity erreur" --text "$(cat $log)"