Bug 13139 - Formatted output turned off when --link-dest is used
Summary: Formatted output turned off when --link-dest is used
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.2
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2017-11-14 16:26 UTC by Michal Ruprich
Modified: 2017-11-14 16:26 UTC (History)
0 users

See Also:


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

The files get synced but there is no output produced.

external Red Hat bug: