réctification des commandes d'affichage espacedisqueutil

This commit is contained in:
Djan GICQUEL 2021-03-19 20:13:15 +01:00
parent 33f7c11279
commit 7065305f38
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ if [ "$choixmenu" = "cs" ] ;then
zenity --width=600 --height=500 --info --text="<tt>$(cd $dossierprofil && cat $fichierprofil)</tt>"
espacedisqueutil=$(df -k --output=pcent $borg_repo | tail -n +2)
zenity --width=600 --notification --text "Espace disque utilisé\n\n $espacedisqueutil"
zenity --width=600 --notification --text "Espace disque utilisé : $espacedisqueutil"
borg create $borg_excludes $borg_compress $borg_repo::$borg_archive $borg_dir | zenity --width=600 --progress --pulsate --auto-close --title="Sauvegarde en cours..."
sync | zenity --width=600 --progress --pulsate --auto-close --title="Synchronisation des écritures..."
@ -117,7 +117,7 @@ if [ "$choixmenu" = "cs" ] ;then
elif [ "$choixmenu" = "ed" ] ;then
espacedisqueutil=$(df -k --output=pcent $borg_repo | tail -n +2)
zenity --width=600 --info --text "Espace disque utilisé\n\n $espacedisqueutil"
zenity --width=600 --info --text "Espace disque utilisé : $espacedisqueutil"
elif [ "$choixmenu" = "ms" ];then
borg_archive=$(borg list --short $borg_repo | zenity --height=500 --list --title "Listes des archives" --column "Archive")