- Simple progress bar for bash
- Clone repository
chmod +x progressbar
- Add it to
$PATH
- Run it:
progressbar 40%
> ./progressbar -h
usage: progress-bar [VALUE], VALUE percentage value, e.g. 10%, 50%, 100%, 110%
-h help
-l long output - allow more than 100%
-s [SIZE], SIZE number of ■ showed when value is 100 (default: 10)
-w [CHARACTER], CHARACTER characted that is being shown as progress bar tile (default: ■)
-a append numeric value after progress bar
-c [COLOR] black|red|green|blue|brown|yellow|white
or pipe:
echo 20 | progressbar -c red