PowerShell has a Write-Progress
cmdlet that would update the Terminal icon to indicate progress.
I would like to do the same in Bash (and NOT exec powershell)
I think it is doable from the link
PowerShell displays certain information using ANSI escape sequences
So I was wondering what those ANSI sequences are.