Bug 9167 - --dry-run --stats --link-dest provides incorrect stats
Summary: --dry-run --stats --link-dest provides incorrect stats
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.9
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2012-09-17 13:38 UTC by Michele Giacomoli
Modified: 2012-12-03 13:01 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Michele Giacomoli 2012-09-17 13:38:39 UTC
Using rsync with parameters -anE --stats --link-dest=/folder/a /folder/b/ /folder/c where /folder/a and /folder/c are in the same filesystem, while /folder/b is in another one, rsync also copies files in c that have different ownership/permissions between b and a, but in "Total transferred file size" statistic it doesn't care about their file sizes
Comment 1 Michele Giacomoli 2012-12-03 13:01:45 UTC
Just a little correction.

Evidently using rsync without --stats the correct files are copied, with --stats it just prints wrong stats.