collecting the differences between a local host and remote archive to third local location (a usb device)

Greg Deback (rsync) greg.deb+rsync at
Thu Sep 27 03:03:52 MDT 2012


So in some ways, you would like to use rsync as a "diff/patch" tool. There
are some similar questions out there
 or there <>),
and the answers are quite similar too. Basically, two methods :
I. Bash scripting (1. Do a dry run and export the files list, 2. Get only
these files on your USB, 3. Push the new/updated files on the original
II. Batch-mode (see this

Hope that will help,

On Thu, Sep 27, 2012 at 9:33 AM, Benjamin Ward <ben at> wrote:

> Hi everyone,
> I'm trying to archive to a remote host but the size of the data to copy is
> prohibitively large to consider doing the sync over the wire (it's TBs of
> raw video), so i was wondering if it was possible to use a usb attached
> storage device as the transport medium.
> Is it possible for rsync to compare the two systems (over the network)
> finding any newer or different files on the local system as compared to the
> remote archive (ignoring local deletes), then copy only those
> new/differences to a locally attached portable drive so that the portable
> drive can be physically taken across town to the other system, plugged in
> and then the new data be ingested so that a subsequent rsync between the
> the two systems would see those files as synchronised?
> I thought the --compare-dest option might be the way to go, as per this
> post:
> but it seems to not behave the way i thought it would.
> Thanks in advance, and apologies if I'm asking a bleeding obvious
> question. :)
> Kind regards,
> Ben
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> Before posting, read:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list