Bug 7965 - --max-size=0 is invalid (should transfer 0-byte files)
--max-size=0 is invalid (should transfer 0-byte files)
Product: rsync
Classification: Unclassified
Component: core
All All
: P3 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2011-02-20 21:42 UTC by Ivan Kozik
Modified: 2011-12-24 20:34 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Kozik 2011-02-20 21:42:20 UTC
$ rsync -a --max-size=0 source dest
rsync: --max-size value is invalid: 0
rsync error: syntax or usage error (code 1) at main.c(1443) [client=3.0.7]

It's a bit odd that there's a way to transfer (0 or 1 byte) files, but no way to transfer only 0-byte files.
Comment 1 Wayne Davison 2011-12-24 20:34:12 UTC
I'm checking in a fix for this.