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

Yes, it will change the permissions and ownerships even if it doesn't
touch the data.

On 05/14/13 21:09, Carl Brewer wrote:
> On 15/05/2013 10:57 AM, Kevin Korb wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> OK, since your timestamps are all a mess you have 2 choices...
>> 
>> 1. Assume that all files on one system are correct and rsync
>> --archive from it to the other.  Rsync will go through all the
>> data but it will only actually transfer the differences.  It will
>> take time but less time than actually re-copying everything.
>> 
>> 2. Same as the above but add --size-only to rsync.  This will
>> tell rsync to assume that files that are the same size on both
>> systems are actually the same.  Usually files that are the same
>> size actually are the same but obviously that isn't a guarantee
>> so this can create cases of old data with new dates.
> 
> so --archive will overwrite permissions on files that it's not
> replacing?
> 
>> - From now on always copy timestamps!
> 
> I hear you :)
> 
> 

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

iEYEARECAAYFAlGS5DQACgkQVKC1jlbQAQd1FQCfU7rm4AMe7uUCTP/DYLFNcOFq
zfgAnivCj3d+qDGMarB5SufzRPHbmBTm
=+c4i
-----END PGP SIGNATURE-----
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to