Re: itemized option (-ii) with --log-file and --log-file format

2009-04-06 Thread David Overton
Pipe the output through sed?

2009/4/6 Jignesh Shah jignesh.shah1...@gmail.com:
 Thanks Wayne for reply. I want to use log-file support only so that i need
 not to read stdout and put output into the file. I have to use -ii so that
 it print all the statistic info about what files/dirs synched and what are
 not. Please refer below output:

 with -i only.
 ---

 2009/04/06 10:38:41 [27475] building file list
 2009/04/06 10:38:41 [27475] sent 88 bytes  received 12 bytes  200.00
 bytes/sec
 2009/04/06 10:38:41 [27475] total size is 1003012  speedup is 10030.12

 with -ii
 -

 2009/03/31 15:15:17 [4537] building file list
 2009/03/31 15:15:29 [4537] created directory Mydocs1
 2009/03/31 15:15:29 [4537] CONTENTS: cd+ Mydocs/. 4096 send 0
 2009/03/31 15:15:29 [4537] CONTENTS: f+ Mydocs/1.pl 394 send 437
 2009/03/31 15:15:29 [4537] CONTENTS: f+ Mydocs/CHANGELOG.txt 2588
 send 2631
 .
 .

 I want the output of -ii but dont want cryptic output in it (e.g.
 cd+ , f+ etc). If we remove it then it will become similar
 output as 2.6.* version output. Is it possible?

 Thanks,
 Jignesh

 On Thu, Apr 2, 2009 at 8:14 PM, Wayne Davison way...@samba.org wrote:

 On Wed, Apr 01, 2009 at 10:50:13AM +0530, Jignesh Shah wrote:
  I noticed that the output format for this command is different from
  rsync
  V2.6.* . Is there any way I can make this output similar to rsync
  V2.6.*?

 What difference are you referring to?  The use of send instead of recv
 for a local transfer?  That is a more accurate representation of what
 rsync is doing, but you can change it by forcing rsync to pull files
 from localhost.  See the support/lsh script for a way to pull from
 localhost w/o using a remote shell.  If that's not the issue, please
 elaborate.

 ..wayne..


 --
 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

--
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


Does rsync use md4 or md5?

2009-04-06 Thread David Depardoux
Hello,

NEWS for rsync 3.0.0
http://rsync.samba.org/ftp/rsync/src/rsync-3.0.0-NEWS
says:

Protocol 30 now uses MD5 checksums instead of MD4.

But the rsync man page
http://rsync.samba.org/ftp/rsync/rsync.html
does not mention MD5, but only talks about MD4 checksum.

I guess the man page is only a bit outdated? Or did I misunderstand something?

Regards,
David Depardoux
-- 
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


--times does not transfer full modification time

2009-04-06 Thread David Depardoux
Hello,

I use:
- cygwin 1.5.25-cr-0x5f1 with
- rsync version 3.0.4 (protocol version 30)
- under Windows XP Home SP3
- on a NTFS formatted drive

with the following command line options:

rsync.exe --recursive --times --delete --checksum --progress --stats --verbose 
/cygdrive/c/_test/1/ /cygdrive/c/_test/2

Timestamps on NTFS formatted drives include milliseconds, but rsync does not 
preserve the milliseconds.

Thus, the milliseconds for files on the receiving side are all set to zero.

Regards,
David Depardoux
-- 
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