ZTree.com  | ZEN  | About...  

 Index   Back

Robocopy did it, thanks   [Q]

By: Martijn Coppoolse   Homepage   Voorburg, NL  
Date: May 14,2019 at 11:04
In Response to: [Q] How long should it take before 9 million files start copying? (KJohnson)

> > Is it supposed to take that long before it starts copying?
>
> I don't have an answer for you about ZTree copying that many files all
> in one operation. Perhaps it is taking a long time simply because the
> drive is failing and it has to retry every read 10 times or more.

Yes, that’s possible.

> When I want to clone a full drive I use robocopy.exe. Once you figure
> out all the command line options, it works very well. An advantage to
> robocopy.exe is that it's multi-threaded and will start several file
> copy operations simultaneously. I believe ZTree will do it
> single-threaded which might result in more tightly packed, non-fragmented
> files, but will take longer.

Thank you for the reminder. I hadn’t looked at robocopy because I wanted to skip whole branches, and some files explicitly. But I saw there is a command-line option to specify a file containing a list of files to be skipped. Easy enough to generate using [Ctrl-B]atch. That worked pretty well.

Another advantage of robocopy is that it can copy symlinks as links instead of copying their target. I had several symlinks in that set, referencing other paths within the set of files to be copied. Merely copying the links worked a treat; once everything was copied, the symlinks referenced the correct files again.


--
Martijn

125 views      
 

Messages in this Thread

 
94,426 Postings in 11,918 Threads, 348 registered users, 6 users online (0 registered, 6 guests)
Index | Admin contact |   Forum Time: Sep 21, 2019 - 11:33 pm EDT  |  Hits:28,655,082  (1,543 Today )
RSS Feed