--log-file=File output

Kevin Korb kmk at sanitarium.net
Wed Mar 12 07:11:31 MDT 2014


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

I doubt it.  Only the first of the three numbers is even accurate
(unless you disable incremental indexing or rsync is almost done).

On 03/12/2014 08:04 AM, Robert DuToit wrote:
> 
> On Mar 12, 2014, at 12:21 AM, Kevin Korb <kmk at sanitarium.net>
> wrote:
> 
> -v would be %n%L You probably don't want --progress in a log file.
> 
>> It works great. The one thing that it doesn’t seem to offer is
>> any file count for those uploaded as in progress. If possible I
>> may try to channel the progress to the logfile- I  havn’t been
>> able to find the place in the source that displays the  (xfer#8,
>> to-check=1115/1125) or if that is even possible. But this is a
>> big improvement at least.
> 
>> Rob
> 
> 
> On 03/12/2014 12:20 AM, Robert DuToit wrote:
>>>> Thanks Kevin,
>>>> 
>>>> On Mar 12, 2014, at 12:10 AM, Kevin Korb
>>>> <kmk at sanitarium.net> wrote:
>>>> 
>>>> See --log-file-format  Most of the info for it is in man 
>>>> rsyncd.conf since it is mostly used by servers.
>>>> 
>>>>> I looked in there - a bit daunting. Ideally I would just
>>>>> want the stdout format  with —progress -v. Maybe there are
>>>>> some simple examples out there.
>>>> 
>>>>> Rob
>>>> 
>>>> 
>>>> 
>>>> On 03/12/2014 12:02 AM, Robert DuToit wrote:
>>>>>>> Hi All, I have a situations where I need output to a
>>>>>>> file and normally would just append “&>output.log” to
>>>>>>> the rsync command line but can’t do that in this
>>>>>>> situation and need to run rsync with just the args via
>>>>>>> nstask. I tried the internal --log-file=File  option
>>>>>>> which works except it outputs very verbosely and not
>>>>>>> the usual (xfer#8, to-check=1115/1125) output I need to
>>>>>>> parse. I don’t knoiw if there is any way to tweak that
>>>>>>> to the normal output in the code and couldn’t see any
>>>>>>> settings relating to that.
>>>>>>> 
>>>>>>> On OSX 10.9 using rsync 3.0.9 and the standard osx
>>>>>>> options
>>>>>>> 
>>>>>>> Thanks,  Rob
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>> 
>>>>> -- 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
> 

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

iEYEARECAAYFAlMgXQMACgkQVKC1jlbQAQdkSACfVXVmouzDwH14Hpx1+TeCgW7B
ZzcAn3ZkxCap7IDKsxu6Zrwh2KGIFbty
=GRJJ
-----END PGP SIGNATURE-----


More information about the rsync mailing list