multi-threaded copy command - robocopy

we can copy files by the powerful robocopy tool, and it allow copy using muliti-threaded as well.

As Robocopy is generally a command-line only utility (although a GUI add-on is available for Robocopy), the new multi-threaded operation capability has to be called via a new switch supported by Robocopy. The new multi-threaded copy feature can be enabled and turned on with the following parameter:

/MT[:n]

Where n will instruct Robocopy to do multi-threaded copies with n threads (default 8). The value of n must be at least 1 and not greater than 128 (between 1 to 128), with 1 as single thread. In fact, Robocopy will copy files and folders in multi-threaded operation by default, with 8 threads in one go. Note that /MT[:n] switch is not compatible with the /IPG and /EFSRAW operations.

For example,

Robocopy C:\Folder1 C:\Folder2 /MT:32

Reference: http://social.technet.microsoft.com/wiki/contents/articles/1073.robocopy-and-a-few-examples.aspx

https://technet.microsoft.com/en-us/library/cc733145.aspx

时间: 2024-11-07 01:14:56

multi-threaded copy command - robocopy的相关文章

Schema command

Transaction Code: PE01 Menu Path: Human Resources --> Payroll -> Tools --> Maintenance Tools -> Schemas Double-clicking on a sub-schema will take you to the maintenance screen for that schema. Double-clicking on any of the rules (PCR's) will t

Windows使用robocopy、forfiles备份数据

事件描述: 2016.11.14一早,禅道(bug管理系统)启动不了了.经过一天各种折腾都不能正常启动服务,找到数据库目录和备份目录,都是空的.这是服务器在祝我31岁生日快乐吗,不带这么玩的. 下图为正常状态 下图为启动失败状态 自身存在的问题: 由于心里一直没把禅道放在心上,服务器的备份策略从来没有检查过.也没做过"灾难恢复"的测试.以至于出了问题后才想着去了解这个系统,看官方文档,找数据库目录等. 到现在为止也不知道系统是为什么挂的,挂的同时,数据库文件一点影也没了.只能让测试重新

Postgres copy命令导入导出数据

最近有需要对数据进行迁移的需求,由于postgres性能的关系,单表3000W的数据量查询起来有一些慢,需要对大表进行切割,拆成若干个子表,涉及到原有数据要迁移到子表的需求.起初的想法是使用存储过程,使用select insert方式进行,但是数据量大的时候耗时有点久,于是需要想别的办法,就发现了postgres本身支持的copy命令. copy命令 COPY在PostgreSQL表和文件之间交换数据. COPY TO把一个表的所有内容都拷贝到一个文件,而COPY FROM从一个文件里拷贝数据到

使用thrift实现了Java服务器和nodejs客户端之间的跨平台通信

1. 简单介绍 thrift是一个软件框架,用来进行可扩展且跨语言的服务的开发.它结合了功能强大的软件堆栈和代码生成引擎,以构建在 C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, and OCaml 这些编程语言间无缝结合的.高效的服务. 2. 下载与安装 Thrift目前最高0.9.2,地址:http://archive.apache.org/dist

IT英语4-计算机英语缩写术语

1.CPU 3DNow!(3D no waiting,无须等待的3D处理) AAM(AMD Analyst Meeting,AMD分析家会议) ABP(Advanced Branch Prediction,高级分支预测) ACG(Aggressive Clock Gating,主动时钟选择) AIS(Alternate Instruction Set,交替指令集) ALAT(advanced load table,高级载入表) ALU(Arithmetic Logic Unit,算术逻辑单元) 

oracle-Expdp/impdp命令

建立逻辑路径 create or replace directory dumpdir as 'c:\'; grant read,write on directory dumpdir to scott; 倒入/出 expdp newdr/[email protected] directory=test dumpfile=test_score1.dmp logfile=tes t.log parallel=2 schemas=newdr 错误 ORA-00054 resource busy and

thrift程序(例子2)

thrift链接:https://www.cnblogs.com/sxrtb/p/12209455.html 一 thrift文件 文件名为tutorial.thrift /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for addit

在VS2010环境开发Teamcenter ITK

前言 这个是几个月前学习ITK开发时,领导要求整理的学习笔记.最近同事要做ITK开发,就发给他了.感觉这篇文章对别人还是有帮助的,决定分享出来. ITK的开发分两种:batch program和handler ,其实就是exe和dll.因为teamcenter底层是用c实现的,ITK也开放了相关接口,ITK开发本质上就是纯粹的C开发.有C/C++开发基础的上手应该很快. 系统环境:Windows 7 X64 开发环境:VS2008 + VS2010 ultimate Teamcenter Ver

STA和MTA线程模式的区别

文章来源: http://blog.csdn.net/fragno/article/details/7982044 STA:   Single-Thread   Apartment,   中文叫单线程套间.就是在COM库初始化的时候创建一个内存结构,然后让它和调用CoInitialize的线程相关联.这个内存结构针对每个线程都会有一个.支持STA的COM对象只能在创建它的线程里被使用,其它线程如果再创建它就会失败. MTA:   Mutil-Thread   Apartment,中文叫多线程套间