rsync maximum size limit

Matt McCutchen matt at
Tue Mar 23 18:43:25 MDT 2010

On Wed, 2010-03-17 at 14:30 -0500, Ramesh Basukala wrote:
> Is there any way in rsync that allows me to trasfer certain amount of
> files?
> For Example:
> My total directory/folder (/var/tmp/testFolder ) size is 800MB and I
> want to sync only 200MB of files at other server, whichever file will
> be synced I don't care but only 200MB of files. I am not talking about
> single file here, I want to sync the whole directory until the size
> reach 200MB.
> Is it possible to do with rsync?

Rsync has no such option.  You may be able to put the destination on a
fixed-size loopback-mounted filesystem image.  Also see if
--only-write-batch helps.

If you tell me more about what you are trying to achieve by transferring
only 200MB of data, I might have better ideas.


More information about the rsync mailing list