In trying to write a nice GUI for rsync, it was difficult to read
rsync's stdout
when using --progress, as --progress uses \r to make things pretty on
a terminal,
but it's painful to read into another process.

The attached patch made it much easier for me to read and parse the output from
--progress by adding a command-line option --progress-newline, which simply
causes --progress to use \n instead of \r for eol to ease reading stdout.

I hope this is useful.

Attachment: progress-newline.patch
Description: Binary data

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to