Re: Rsync and different sizes

2006-10-23 Thread Valerio Daelli
On 10/22/06, Sturla Holm Hansen <[EMAIL PROTECTED]> wrote: This really cleared things up, thanx! Just one more question: Do you know of a reliable method of comparing sizes in this scenario? Sturla Hi there's a nice post today about find, xargs and md5, just search the list (md5sums). Bye Val

Re: Rsync and different sizes

2006-10-20 Thread Valerio Daelli
;2/' being an hard link pointing to the same file in '1/' if you do a $du -chs 1/ 2/ you will count the hard link once if you do $du -chs 1/ $du -chs 2/ you will count the hard link twice I never heard of lack of precision of 'du' Bye Valerio Daelli -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Rsync and different sizes

2006-10-19 Thread Valerio Daelli
I'd suggest: find MYSRCDIR -type f -exec md5sum {} \;|sort>SRC find MYDESTDIR -type f -exec md5sum {} \;|sort>DEST wc -l SRC;wc -l DEST diff SRC DEST may take a bit too long, ti depends... Also in every rsync run you should check the last lines 'sent 16431711 bytes received 7000 bytes 219182