Skip to content

m-sroka/bash-progress-bar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

What is this

  • Simple progress bar for bash

samples intro images

How do I get set up?

  1. Clone repository
  2. chmod +x progressbar
  3. Add it to $PATH
  4. Run it: progressbar 40%

How do I use it

> ./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

Sample usage

samples images

About

Static progress bar written as bash script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages