per sync size limit

jw schultz jw at pegasys.ws
Thu Oct 31 22:54:00 EST 2002


On Fri, Nov 01, 2002 at 12:25:26AM +0200, Heikki Orsila wrote:
> Is there a way to limit an rsync session to a predefined byte size? I
> would like to transfer at most N megabytes per session (read + write).
> Usually around a gigabyte per session.

Not internally.  You could create a tweaked version of
rsh/remsh/ssh that would break the connection but i can't
say that rsync would react all that well (older versions have
been known to go runaway).

I'm afraid the only reason i could see using this would be
to comply with a max MB/day restriction of an ISP.

It would probably be better break the job up, accumulate the
transfer-quantity of each sub-job and stop when the total
exceeds a threshold.


-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list