If its a matter of keeping the logs, you could post-process the log file
afterward and strip out all the garbage.

--
Espi


On Tue, Feb 6, 2018 at 6:33 AM, Michael Leone <[email protected]> wrote:

> Thanks. Yeah, I've seen it. It says:
>
> It seems that the /MIR option ignores the logging options. Also /MT messes
> it up. The only way I got working was " D:\robocopy>robocopy source
> destination /MIR /W:3 /R:100 /NS /NC /NFL /NDL /NP /LOG:log.txt". If you
> try /MT, it will still show the silly 100%
>
> So I may be out of luck. I like that multi-threading, it really seemed to
> speed things up for me. So I may have to live with the lines. I'll find out
> this weekend, when I run the /MIR /MT run again. I will try the /NC /NS
>
> On Tue, Feb 6, 2018 at 8:47 AM, Micheal Espinola Jr <
> [email protected]> wrote:
>
>> This may be helpful to you:
>>
>> https://superuser.com/questions/511702/how-do-i-hide-extra-
>> file-and-100-lines-from-robocopy-output
>>
>> --
>> Espi
>>
>>
>> On Tue, Feb 6, 2018 at 5:18 AM, Michael Leone <[email protected]>
>> wrote:
>>
>>> On Mon, Feb 5, 2018 at 7:01 PM, Kurt Buff <[email protected]> wrote:
>>>
>>>> Right you are...
>>>>
>>>> But, if you want to see output on the console, and still log to a text
>>>> file, use both the /np and /tee switches.
>>>>
>>>
>>>
>>> In my case, I don't, as the job executes as a scheduled task, so no need
>>> for outputting to the console. I just want to see the log afterwards. I
>>> search it for "error". But it would help to not have a millions lines of
>>> "100%" in the log ...
>>>
>>>
>>> I do that with some regularity for small jobs like this.
>>>>
>>>
>>>> Kurt
>>>>
>>>> On Mon, Feb 5, 2018 at 3:49 PM, Micheal Espinola Jr <
>>>> [email protected]> wrote:
>>>>
>>>>> /NP is for the console display of progress.  As long as you are not
>>>>> logging by way of redirected output, this would have no effect.
>>>>>
>>>>> --
>>>>> Espi
>>>>>
>>>>>
>>
>

Reply via email to