Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] rsync v. cp in data migration



> From: discuss-bounces+blu=nedharvey.com at blu.org [mailto:discuss-
> bounces+blu=nedharvey.com at blu.org] On Behalf Of Greg Rundlett
> 
> Would  cp
>   cp -au /source/* /target
> be preferable to rsync?
>   rsync -vazn --checksum --progress --stats /source/ dest/

cp won't transfer file deletions.  Also, what do they call "newer?"  If it's just checking timestamp, then rsync is definitely more advanced.

If you're going across a reasonably fast link (1Gb, or perhaps, even 100Mb) then compression will slow you down.  Should get rid of -z
Should probably add --delete



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org