46

Is there a way to show the percentage completed in Robocopy? I am running with /NDL and /NFL, but I would like to see the overall percentage... is this possible?

MrDuk
  • 16,578
  • 18
  • 74
  • 133
  • 9
    Well over 10k views, and two question up-votes -- sounds about right. Best of luck to you, fellow Googler! – MrDuk Jun 24 '16 at 20:39
  • 1
    I haven't tried yet with /ndl and /nfl but it's worth noting that robocopy does give a percentage by default e.g. `robocopy . .\a blah.big` (that's how to transfer an individual file http://serverfault.com/questions/52983/robocopy-transfer-file-and-not-folder ) and there switch to turn progress bar off says progress bar is default `/np Specifies that the progress of the copying operation (the number of files or directories copied so far) will not be displayed.` But I guess maybe you lose the progess bar with those switches you used – barlop Jul 21 '16 at 14:49

3 Answers3

7

I haven't found a way to do so. Instead I use PowerShell to do the copy and track progress.

This might be of use: Custom RoboCopy Progress Bar in PowerShell

Community
  • 1
  • 1
Graham Gold
  • 2,435
  • 2
  • 25
  • 34
-1

Append "/E /V /R:1 /W:5 /ETA" (without quotations) to the end of your command.

For example:

robocopy "C:\Test Folder" "\\TestPC\C$\Test Folder" *.* /E /V /R:1 /W:5 /ETA

https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy

Fedor
  • 17,146
  • 13
  • 40
  • 131
  • The /ETA just adds text like "16:46 -> 16:46" to the end of each individual file progress, so I'm not sure how this should solve the issue in discussion? – mBardos Mar 02 '23 at 14:49
-4

For others who come here from Google and don't normally read the comments, @barlop posted correctly:

I haven't tried yet with /ndl and /nfl but it's worth noting that robocopy does give a percentage by default e.g. robocopy . .\a blah.big (that's how to transfer an individual file http://serverfault.com/questions/52983/robocopy-transfer-file-and-not-folder ) and there switch to turn progress bar off says progress bar is default /np Specifies that the progress of the copying operation (the number of files or directories copied so far) will not be displayed. But I guess maybe you lose the progess bar with those switches you used

the default behavior of robocopy is to include percentages. Use /np to not include progress.

Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
Lane Goolsby
  • 594
  • 1
  • 8
  • 26