Bug 13139 - Formatted output turned off when --link-dest is used
Formatted output turned off when --link-dest is used
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.1.2
All All
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-14 16:26 UTC by Michal Ruprich
Modified: 2017-11-14 16:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Ruprich 2017-11-14 16:26:21 UTC
If I use rsync with --link-dest and --out-format, no output gets printed. I've done some debugging and when I use the --link-dest, the log_item and log_formatted functions from rsync are skipped altogether. 

Example command:
rsync -H --link-dest=/tmp/test_sync/directory_a --out-format="<<CHANGED>>%i %n%L" /tmp/test_sync/directory_a/foo.txt /tmp/test_sync/directory_b/foo.txt

Result:
The files get synced but there is no output produced.

external Red Hat bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1511202