What I'm looking for is to be able to start a copy job to send the source files to two shares at the same time. You can do a batch file to tell robocopy to copy the same source to multiple locations. It would look like this:. Sadly it would run the command for source to first destination, once completed it would move to copy the same source to the second destination and so on. It could be slow the first time the sync happens if you have a large amount of data.
I can only think of one other way to speed this up. With powershell you can spawn jobs it's a way of multi threading so that you could spawn all the jobs at once to copy the one source to all the destinations.
The only problem with this would be the IOPS of the source drive. It won't necessarily be on the same bit of the same file at the same time, so the hard drive would be seeking all over the place if it's a spinning disk If the source drive is flash, it might be good to do this method.
Thanks for the suggestion! Is RoboMojo completely GUI or does it also have command-line switches so that scheduled tasks can be created? The newest version of robomojo has command line support. I'm going to try just creating two robocopy sessions 5 minutes apart to the respective destinations and see how the performance is.
I have been able to copy files from 1 location to another using the batch file. However I need to copy the complete folder from one server to multiple servers. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Batch file to copy folder to multiple network destinations Ask Question. Asked 5 years, 1 month ago. Active 5 years, 1 month ago. Viewed 2k times. Improve this question. Copy files to multiple folder locations in batch or move multiple files in bulk -- If you want to know how to copy multiple files to one location, to multiple locations, then this software is for you! Using this software,. Search for a Product:. Copy files to multiple folder locations in batch or move multiple files in bulk Software!
0コメント