From a12b7c2291e56820b2d9210b2b38803d468ee92f Mon Sep 17 00:00:00 2001 From: sgk Date: Thu, 21 May 2015 11:23:08 +0530 Subject: Change in zenity windows --- incremental-complete-backup/backup-tool.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/incremental-complete-backup/backup-tool.sh b/incremental-complete-backup/backup-tool.sh index d12d419..44d4eaa 100644 --- a/incremental-complete-backup/backup-tool.sh +++ b/incremental-complete-backup/backup-tool.sh @@ -216,10 +216,13 @@ case "${result}" in rm -r ~/Templates ~/Downloads/* rm ~/.vimrc ~/.viminfo rm -f /etc/udev/rules.d/70-persistent-net.rules - sudo tar -cpzf /mnt/boot/fossee-os.tar.gz --one-file-system / + sudo tar -cpzf /mnt/boot/fossee-os.tar.gz --one-file-system / | + zenity --progress --title "Creating backup" \ + --width=600 --height=100 --no-cancel \ + --text="It may take some time.(approx 45min for 8GB)" --pulsate --auto-close sync echo $password |sudo umount /mnt/* # refresh sudo access sudo rm -rf /mnt/* + zenity --width=300 --height=100 --info --text "Backup is Done, Now you can eject your SDcard and use for restore." ;; esac -zenity --width=600 --height=100 --info --text "Done ! " -- cgit