Trying to use pexpect to drive rsync
I would like to use the "--progress" option in rsync to
get updated progress information, but rsync does not
put a linefeed during updates to the progress. It only
uses "^M" and overwrites the previous output.
I would like expect to treat "^M" as a logical end of
line so I can catch the updating progess indicator.
Log in to post a comment.