Is there any way to tell robocopy to log all the info but to show the header/summary (any high level info really)?
I did some screwing around and when I used the NFL option for example, it actually didnt copy the files, it just created the directories, which is really confusing to me.
Im doing this in powershell since im going to have it manage the copies a bit, but what i've done so far is really straight forward.
#clean up for test
rm E:\temp -Recurse -Force
$src = "e:\website"
$dest = "e:\temp"
$cmd = gcm robocopy
$logOptions ="nfl", "ndl","/ns","/nc", '/log:e:\copy.log', "/tee"
$options = "/e", "/copyall", "/zb", "/r:2", "/w:1"
& $cmd $src $dest $options $logOptions
It runs robocopy just fine, but as i said its not copying the files. In the Header it shows the following info.
Files : nfl
ndl
Options : /NS /NC /TEE /S /E /COPYALL /ZB /R:2 /W:1
Which also seems odd because based on the docs the nfl/ndl are logging options, not copy options.
The file version is 10.0.10586, which is what comes with windows 10. thoughts?