/ProgressBar

1980is style progressbar written in BaSH.

Primary LanguageShellThe UnlicenseUnlicense

  1. Information This 1980is styled progress bar works when you are able to input your currentState(for eg. processed pages/rows/etc) and totalState(for eg. total amount of pages/rows/etc).

  2. Usage Import the function, start the progressbar with: ProgressBar $_currentState $_totalState

This must be done for every loop/process that have been made. This is to make a nice flow of updates on the screen.

  1. Notice Please note that all output from your application must be sent to ">> /dev/null 2>&1" so no output will interrupt the output from the progressbar.