You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
fjollberg
changed the title
Get-RoboItem with -Unit GB on small items give weird TotalSize
Get-RoboItem with -Unit GB on small items gives weird TotalSize
Apr 27, 2022
The problem with strange output should be fixed in the Dev branch with the introduction of parameter -Precision which defaults to showing 4 digits after the decimal point (28 digits are the highest possible).
Regarding Speed, Robocopy doesnt track speed when using /L it seems. Will either look at not showing it or code something own.
Get-RoboItem with -Unit GB on small items gives weird TotalSize where an expected '0' is missing.
The property Speed is also mangled.
This is not a major issue to me as I switched over to the new TotalSizeBytes for my purposes.
Source : \Some\path
Destination : NULL
Command : Robocopy.exe "\Some\path" "NULL" . /r:3 /w:3 /e /MT:16 /l /bytes /TEE /np /njh /fp /ndl /ts
...
TotalSize : GB
TotalSizeCopied : GB
TotalSizeIgnored : GB
TotalSizeMismatched : GB
TotalSizeFailed : GB
TotalSizeExtra : GB
TotalSizeBytes : 50793
Speed : GB/s
ExitCode : 1
Success : True
LastExitCodeMessage : [SUCCESS]All files were copied successfully.
The text was updated successfully, but these errors were encountered: