How about

<@andrewTO> alias unbuf='stdbuf -i0 -o0 -e0'

then unbuf rsync

i have not tested this in any way.

--progress would be some interesting stuff to parse, esp with all the screen 
of the K/s line as well as background deletes and scans overwriting while
--progress of the previous file occurs. Ever try to parse ANSI screendraw 


On Thu, Jul 02, 2015 at 06:00:19PM +0000, said:
  >            Bug ID: 11378
  >           Summary: Please add a '--line-buffered' option to rsync to make
  >                    logging/output more friendly with pipes/syslog/CI
  >                    systems/etc.
  >           Product: rsync
  >           Version: 3.1.1
  >          Hardware: All
  >                OS: All
  >            Status: NEW
  >          Severity: enhancement
  >          Priority: P5
  >         Component: core
  >          Assignee:
  >          Reporter:
  >        QA Contact:
  >Created attachment 11225
  >  -->
  >patch to implement --line-buffered option
  >Behavior change with --line-buffered would be primarily to --progress - which
  >would output a newline after percentage update instead of just a
  >During a normal operation with smaller files you'd never notice the 
  >but with large files (say recurrent sync of ISO images or similar) - you'd 
  >a MUCH more usable output trace in the build system and logs instead of it 
  >being merged onto one "line" of output.
  >You are receiving this mail because:
  >You are the QA Contact for the bug.
  >Please use reply-all for most replies to avoid omitting the mailing list.
  >To unsubscribe or change options:
  >Before posting, read:

Ken Chase - Toronto Canada
Heavy Computing - Clued bandwidth, colocation and managed linux VPS @151 Front 
St. W.
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options:
Before posting, read:

Reply via email to