batch file - robocopy /copyall but not empty folders (/e) -
i'm looking modify robocopy script taking way long complete. directory copying has thousand's of empty folders, i'm told cannot rid of.
robocopy script switches this:
robocopy /copyall /sec /mir /r:1 /w:1 /mt:24
the log file produces this:
robocopy /s /e /copy:dats /purge /mir /mt:24 /r:1 /w:1
i think improve time takes backup directory if t can remove /e switch. assume comes /copyall
.
question how can still use /copyall
remove /e
? simple manually adding below switches, , removing /e
? or there better way?
/s /copy:dats /purge /mir /mt:24 /r:1 /w:1
below results yesterday. going file/print server nas box across 10gb link. ------------------------------------------------------------------------------
total copied skipped mismatch failed extras dirs : 188548 35 188513 0 0 0 files : 1144788 1633 1143155 0 0 26 bytes : 397.981 g 1.033 g 396.948 g 0 0 7.88 m times : 0:57:10 0:00:44 0:00:00 0:56:18 speed : 29329947 bytes/sec. speed : 1678.273 megabytes/min.
robocopy /?
says
/s :: copy subdirectories, not empty ones.
Comments
Post a Comment