Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Robocopy - How do I show verbose output onscreen?

Status
Not open for further replies.

zbag

IS-IT--Management
Jun 14, 2005
5
US

I am trying to get Robocopy to show all files copied onscreen, regardless of whether they exist or not. In short, I just want to watch the read activity onscreen as it scans over the files. Is there any way to do this?
 
Type robocopy /??? at the command line and you will find:

/V : produce Verbose output, showing skipped files.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 

Thanks, only /v doesn't seem to work on files that are copied, only ones that are not. I want to see all files copied and not copied scroll up onscreen, regardless of its status. XCOPY and XXOPY do this just file, but where is it in ROBOCOPY?
 
Again, from Robocopy /???

/X : report all eXtra files, not just those selected.

try that.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 

Nope, that doesn't seem to do anything. Maybe Robocopy doesn't support what I'm looking for. It's hard to watch the progress as it's happening real-time without this switch.
 
I did this test

C:\Temp>robocopy c:\Temp c:\Test

----------------------------------------------------------------------
ROBOCOPY v 1.96 : Robust File Copy for Windows NT
----------------------------------------------------------------------

Started : Tue Jun 14 14:47:53 2005

Source : c:\Temp\
Dest : c:\Test\
Files : *.*
Options : *.* /R:1000000 /W:30

---------------------------------------------------------------------

8 c:\Temp\
100% New File 92600 bass.dll
100% New File 324043 bookmarks.html
100% New File 716846 bookmarksfromhome.html
100% New File 1795 file_id.diz
100% New File 2656 scene.org.txt
100% New File 3066372 sor.dat
100% New File 93696 sor.exe
100% New File 1429176 sor.mp3

---------------------------------------------------------------------

Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 8 8 0 0 0 0
Bytes : 5.46 m 5.46 m 0 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00

Speed : 22027630 bps.
Speed : 1260.431 mb/min.

Ended : Tue Jun 14 14:47:54 2005



C:\Temp>robocopy c:\Temp c:\Test /V /X

----------------------------------------------------------------------
ROBOCOPY v 1.96 : Robust File Copy for Windows NT
----------------------------------------------------------------------

Started : Tue Jun 14 14:48:56 2005

Source : c:\Temp\
Dest : c:\Test\
Files : *.*
Options : *.* /V /X /R:1000000 /W:30

---------------------------------------------------------------------

8 c:\Temp\
same 92600 bass.dll
same 324043 bookmarks.html
same 716846 bookmarksfromhome.html
same 1795 file_id.diz
same 2656 scene.org.txt
same 3066372 sor.dat
same 93696 sor.exe
same 1429176 sor.mp3

---------------------------------------------------------------------

Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 8 0 8 0 0 0
Bytes : 5.46 m 0 5.46 m 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00

Ended : Tue Jun 14 14:48:56 2005


Notice that it showed me the files that were not copied.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 

Hmmm... I probably have a conflicting switch in there. What do you think?

This is what I have for switches:

/copy:DAT /s /e /b /zb /r:0 /w:0 /nfl /ndl /v /x /eta /r:1 /w:1
 
When I use that command line, /copy:DAT is flagged by Robocopy as an invalid parameter as is /b, /zb, /nfl, /ndl. When I remove those, it works for me. I would also point out that /r:0 /w:0 and /r:1 /w:1 contradict each other.


[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
OK thanks for the R: and W: discrepancies. I was in a hurry when I made this. Actually these switches are the latest in the Robocopy XP version. Maybe there's something there that's conflicting.
 
You have specified /nfl and /ndl -

/nfl: DONT LOG FILE NAMES
/ndl: DONT LOG DIRECTORY NAMES

You also specify /z and /zb. /zb supercedes /z, so no need for that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top