I would like to include a zenity progress bar for this part of my script:
zenity --question --title "GUI" --text "Sync Music to iPad?"
if [[ $? == 0 ]] ; then
scp -r "$FOLDER" root@192.168.0.188:/var/mobile/Media/Music
ssh root@192.168.0.188 'rm /var/mobile/Media/Music/"All Songs"/*'
ssh root@192.168.0.188 'find /var/mobile/Media/Music/ -name "*.mp3" -exec ln -s {} /var/mobile/Media/Music/"All
According to GNOME Documentation, it looks like
--progress
should get you what you're looking for.I've used a simple
zenity
progress like this:or perhaps with a:
after completion.