diff options
author | sgk | 2015-05-21 11:23:08 +0530 |
---|---|---|
committer | sgk | 2015-05-21 11:23:08 +0530 |
commit | a12b7c2291e56820b2d9210b2b38803d468ee92f (patch) | |
tree | 84b420d98b241430cc49886746637972d5761aea | |
parent | 9f6dd70547db38033a264339a4e06fbbaa64cd55 (diff) | |
download | FOSSEE-netbook-tools-a12b7c2291e56820b2d9210b2b38803d468ee92f.tar.gz FOSSEE-netbook-tools-a12b7c2291e56820b2d9210b2b38803d468ee92f.tar.bz2 FOSSEE-netbook-tools-a12b7c2291e56820b2d9210b2b38803d468ee92f.zip |
Change in zenity windows
-rw-r--r-- | incremental-complete-backup/backup-tool.sh | 7 |
1 files 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 ! " |