How to show a progress or percentage bar on script?

Hi,

I'm a student and I have to create a script, but I want to show a progress bar when the script is making a backup. For example, I'm making a full backup of the FreeBSD system and while the script is making the job, I want to show a progress or a bar percent completed, is that possible on FreeBSD?

Thanks :)
 
Back
Top