Transferring large files using rsync

jw schultz jw at pegasys.ws
Fri Sep 12 09:34:24 EST 2003


On Thu, Sep 11, 2003 at 05:43:56PM -0500, Seann Herdejurgen wrote:
> I am running into an issue with rsync that I need some help with.  When syncing
> large files (e.g. 1GB), the rsync algorithm creates a temporary 1GB file and
> then renames it when the transfer is finished.  The issue I am running into is
> if the two large files have very few differences between them, the bottleneck is
> creating the 1GB temporary file on the target box.  This process takes several
> minutes.  Is there a way to tell rsync to update files "in place" and not create
> a temporary file?  I realize that I can corrupt my target file this way, but if

No.  Nor can rsync be modified to do so.  You can tell rsync
to build the tempfile elsewhere but that won't help unless
it is another filesystem and if it is another filesystem
the rename will be slow.

> P.S. Using Linux, if rsync core dumps, how can I find out what caused rsync to
> crash?

The same way you analyse other core dumps.

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

		Remember Cernan and Schmitt



More information about the rsync mailing list