1

Zenity --progress --auto-kill usage?

view story
linux-howto

https://bbs.archlinux.org – Hello,i'm trying to built a simple backup script which launches rsync and zenity:#/bin/bash rsync -auvh --progress --delete / /mnt/BACKUP | zenity --progress --auto-killWhat i want to archive is that if i press the "cancel" button of the zenity progress bar, the rsync process should be killed. What happens instead is that my bash is killed.Is there any nice way of how i can kill the rsync process when i press the "cancel" button?Thanks in advance,Robert RobertBuhren https://bbs.archlinux.org/profile.php?id=52011 2012-08-26T22:59:05Z (HowTos)