switch to not backup a file of size X Mb

Paul Slootman paul at debian.org
Tue May 16 10:42:21 GMT 2006


On Tue 16 May 2006, Sam Russo wrote:
> 
> My Question: Is there any way to make sync ignore files greater than a
> certain size. The files do not follow any naming convention and are
> therefore only identifiable by their size?  (e.g I want all files backed
> up except files greater than say 200Mb)

RFTM:
        --max-size=SIZE         don't transfer any file larger than SIZE

hence use --max-size=200M


Paul Slootman


More information about the rsync mailing list