--min/max-size affects only transfer, not --delete, why?

bulia byak buliabyak at gmail.com
Fri Feb 24 16:19:26 GMT 2006

Logically, deleting the dst file which does not exist on src amounts
to "transferring the non-existence" of that file from src to dst.
Therefore, if files larger or smaller than some size are ignored in
transfer, they must just as well be ignored in deleting (much as
--exclude'd files are also excluded from delete, unless you specify
--delete-excluded). So I think the behavior should be amended by
checking the sizes of dst-only files and applying the same min/max
filters to them when deciding whether to delete them or not.

bulia byak
Inkscape. Draw Freely.

More information about the rsync mailing list