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.


Thread locked

Messages in this Thread

95,075 Postings in 11,986 Threads, 350 registered users, 115 users online (1 registered, 114 guests)
Index | Admin contact |   Forum Time: Aug 12, 2020 - 10:12 pm EDT  |  Hits:33,073,628  (21,986 Today )
RSS Feed