E
E
eugene1592020-08-26 20:06:04
System administration
eugene159, 2020-08-26 20:06:04

How can I find out what exactly was not copied due to a failure of the robocopy utility?

I started robocopy with the following parameters:

robocopy "D:\1programming" "T:\1programming" /e /copyall /zb /V /TS /FP /ETA /TEE /LOG:C:\robocopy.txt /MIR

After running the command, it turned out that there was a failure 1 time. I am attaching a screenshot. How to find out what exactly was not copied? I want to copy this manually through explorer.
5f46958e6907e592309098.png

I wanted to try this command in Power Shell:
$1 = Get-childitem "D:\1programming" -recurse
$2 = Get-childitem "T:\1programming" -recurse
Compare-Object $1 $2 -Property Name, Length

But after the first line I got an error, I'm attaching a screenshot.
5f4696338598e715061597.png

How to avoid this error? It seems to me that if I delete the folder that Power Shell swears at, then it will swear at another folder.
Or, if you can't avoid the error, how else can you know what didn't get copied?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Tsvetkov, 2020-08-26
@tsklab

FIND "сбой" C:\robocopy.txt

C
Chitinets, 2020-08-28
@Chitinets

PS, you may need to run as admin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question