B
bashcommando
Guest
I am trying to make a graphical version of what but how do I echo the percentage finished downloading? Here is my code so far:
How do I make it echo the percentage downloaded?
Code:
#!/bin/sh
export url=`zenity --entry --text="Enter URL" --title="gwget"`
cd ~/Downloads
(
wget $url
) |
zenity --progress --title="gwget" --text="Downloading..." --percentage 0
exit 0