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
redrawing
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
output?
/kc
On Thu, Jul 02, 2015 at 06:00:19PM +, samba-b...@samba.org said:
>https://bugzilla.samba.org/show_bug.cgi?id=11378
>
>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: way...@samba.org
> Reporter: nn...@neulinger.org
>QA Contact: rsync...@samba.org
>
>Created attachment 11225
> --> https://bugzilla.samba.org/attachment.cgi?id=11225&action=edit
>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
>carriage-return.
>
>During a normal operation with smaller files you'd never notice the
difference,
>but with large files (say recurrent sync of ISO images or similar) - you'd
get
>a MUCH more usable output trace in the build system and logs instead of it
all
>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:
https://lists.samba.org/mailman/listinfo/rsync
>Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
--
Ken Chase - k...@heavycomputing.ca 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: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html