I'm looking for a way to implement a progress bar in a bash-script.
The script I've made "prepares" a bunch of images on my web page, before I'm using the "album"-tool to generate an album. First the script converts all letters to small case, then resizing all images to 800x600, decreases quality and last of all changes the permissions on files and directories.
When I runt his script now, I haven't got any indication of how long it will take, and how much time is left. The "album" script has included this, but the creator of that script is a "little" more advanced than me..
Does anyone know how I can include a hash progress bar (like in "album") so the result will look something like this:
Code:
Converting [XXXXXXXXXX]
Resizing [XXXXXX ]
..and so on..
Any suggestions?