is there an rsync switch to not backup a file of size > X
apapadop at alumni.cmu.edu
Tue May 16 08:59:13 GMT 2006
On Tuesday 16 May 2006 11:41, Sam wrote:
> My Question: Is there any way to make rsync ignore files greater than
> a certain size.
Yes. Try man rsync and look for max-size
(oh well, since RTFM is just mean and doesn't help create usable
This tells rsync to avoid transferring any file that is
smaller than the specified SIZE. The SIZE value can be suffixed with a
letter to indicate a size multiplier (K, M, or G) and may be a
fractional value (e.g. "--min-size=1.5k").
This tells rsync to avoid transferring any file that
is larger than the specified SIZE. See --min-size above for the
description of SIZE.
More information about the rsync