Thank you, Kevin! Your solution works well :) Zhenhua
On Mon, Jan 30, 2012 at 10:37 AM, Kevin Korb <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > - --only-write-batch=FILE ; du FILE > > On 01/30/12 11:35, Zhenhua Li wrote: >> Hello everyone, >> >> I have been exploring how to get the estimated binary diff size >> without changing the destination folder, but still have no answer. >> I have difficulty in solving this problem. >> >> I want to do something like: rsync -av ~/src/ >> user@host::module/dst/ but I do not want the dst/ to be really >> changed. That is to say, I only want to get the estimated binary >> diff size (or says delta size) between /src and /dst. >> >> I tried the option -n (--dry-run) but it only lists which file will >> be changed rather than how many bytes are different (will be >> transferred). >> >> Could you please give me some help or heuristics? Thank you very >> much! >> > > - -- > ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ > 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.17 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk8mx0IACgkQVKC1jlbQAQdz1wCfeX/IlIeMEKBhV2WpyAwjnQnR > Kn4AniqnZI9LMV0G8QLSt2zQ5bMvIxkh > =SVai > -----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 -- Zhenhua Li, Joint Ph.D student, University of Minnesota, Twin Cites, US Ph.D student, Peking University, Beijing, China Hompage: http://net.pku.edu.cn/~lzh Email: [email protected], [email protected] Phone: 612-205-1637 (@Minneapolis, MN, USA) +86-13811219742 (@Beijing, unavailable now) -- 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
