Re: cryptic output with itemized option

2009-04-05 Thread Jignesh Shah
Thanks Paul for reply but I want to user 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 2:49 PM, Paul Slootman
paul+rs...@wurtel.netpaul%2brs...@wurtel.net
 wrote:

 On Thu 02 Apr 2009, Jignesh Shah wrote:

  Could any one please tell me if there is any way to remove 11 letters
 long
  cryptic output from -ii option.

 That cryptic output is the main point of --itemize-changes...
 And note that -ii is dedundant, -i is enough.

 I suspect you want to use --out-format=... instead of --itemize-changes.


 Paul
 --
 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.htmlhttp://www.catb.org/%7Eesr/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

cryptic output with itemized option

2009-04-02 Thread Jignesh Shah
Hi,

Could any one please tell me if there is any way to remove 11 letters long
cryptic output from -ii option.

I am using rsync 3.0.5

rsync -av -stats -ii --log-file-format='CONTENTS: %i %f %l %o %b'
--log-file='/tmp/rsync-test' Mydocs/ Mydocs1/

The output of this command:

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

I want to remove cd+, f+ etc from whole output to make
it compatible with rsync V2.6.7. Is it possible?

Thanks,
Jignesh
-- 
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

Re: cryptic output with itemized option

2009-04-02 Thread Paul Slootman
On Thu 02 Apr 2009, Jignesh Shah wrote:

 Could any one please tell me if there is any way to remove 11 letters long
 cryptic output from -ii option.

That cryptic output is the main point of --itemize-changes...
And note that -ii is dedundant, -i is enough.

I suspect you want to use --out-format=... instead of --itemize-changes.


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