Show running rsync and its progress
There is no way to tell whether rsync is running or not, or if the process is stuck in the background. There should be some indicator/icon to show the rsync is running right now.
The progress is simply the last line of the output. It would work fine with --info=progress2
option, which lets rsync to produce "\rSome progress info"
strings, terminated by "\n"
if there is an ordinary output (-v
), or "\r"
of the next progress info. So the progress info can be easilly separated from the rest of the output.