Copying using a parallel directory.

Kevin Korb kmk at sanitarium.net
Sat Aug 20 10:05:27 MDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You want --copy-dest.
Also, you don't want --checksum.  It will only make it slower.

On 08/20/11 11:42, Stier, Matthew wrote:
> I work at a remote site, and I often use rsync to copy Unix application
> directories from the corporate site, to my own. 
> 
>  
> 
> Often these directories are  minor revisions of previous installations. 
> (ie: /base/app/1.1, /base/app/1.2  /base/app/1.2.1 )
> 
>  
> 
> I can make a copy of the previous directory under the new name, and then
> do a checksum transfer, but that may waste a lot of time, up front, in
> major version upgrades.
> 
>  
> 
> Is it possible in rsync to copy from source to destination, while
> checking a parallel directory for possible matching files, and thus
> doing a quick copy at the destination, rather than across the WAN?
> 
>  
> 
> The check could be done at the source, since the previous installation
> would be the same at both sites due to a previous rsync.
> 
>  
> 
>  
> 
>  
> 
>  
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5P20cACgkQVKC1jlbQAQfwkwCfSQZ6OhNSZaPmmEkF0BudvuiZ
+ZkAoI/cGBellGvH+thpweQehDgI7lxS
=Lbgw
-----END PGP SIGNATURE-----


More information about the rsync mailing list