Bug 7965 - --max-size=0 is invalid (should transfer 0-byte files)
Summary: --max-size=0 is invalid (should transfer 0-byte files)
Status: RESOLVED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.0
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-20 21:42 UTC by Ivan Kozik
Modified: 2011-12-24 20:34 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 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.