Use Robocopy for More Powerful File Management
Use Robocopy for More Powerful File Management
Maybe you always drag files between folders with Windows Explorer. However...have you ever meet some heavy-duty file management and you find Windows Explorer is no longer as useful as you did in the past? At this time, you need to turn to Robocopy which is a good tool can copy all NTFS file attributes and to mirror the contents of an entire folder hierarchy across local volumes or over a network for help.It was introduced with the Windows Server 2003 Resource Kit and is included in all editions of Windows 7. If you use the right combination of options, you can recover from interruptions such as network outages by resuming a copy operation from the point of failure after the connection is restored.
The Robocopy syntax takes some getting used to. If you're familiar with the standard Copy and Xcopy commands, you'll have to unlearn their syntax and get used to Robocopy's unconventional ways. The main difference is that Robocopy is designed to work with two directories (folders) at a time, and the file specification is a secondary parameter. Additionally, there are plenty of options that can be specified as command-line switches.
The basic syntax is as follows:
robocopy source destination [file [file]...] [options]
The source and destination parameters are specified as drive:path or \serversharepath. The file parameter can contain one or more literal file names, or it can use the familiar ? and * wildcards. Available options include lots of switches that control copying, file selection, retry options, and the ability to create log files. For instance, this command copies the contents of one folder and all its subfolders from a local drive E to a shared folder on a Windows Home Server:
robocopy "E:est" \serverpublicest /MIR /W:20 /R:15 /LOG: \serverpubliclogs
The /MIR switch tells Robocopy you want to mirror the two folders, copying all folders (even empty ones) from the source directory and purging folders from the destination if they no longer exist on the source. The /W and /R switches set the wait and retry options; in this case, Robocopy will retry each copy up to 15 times, waiting 20 seconds between attempts.
Note: The defaults allow 1 million retries, at 30-second intervals, allowing copy operations to complete when an open file is closed, even if hours or days have passed since the command was first launched.
To see the full syntax, type robocopy /? at a command prompt.
conclusion
Robocopy is a powerful tool, capable of moving, copying, and deleting files and folders faster than you can say "Whoops." We recommend experimenting with commands using nonessential files and folders first. You can run the command against real data files when you're comfortable that you understand the effects of the syntax you're using.
IfyoualsohavesomequestionsoryouwanttodownloadthesoftwaresImentionedabove,youcanvisittheoriginalarticlefrom:
http://www.newton360.com/Detail/Use-Robocopy-for-More-Powerful-File-Management.html
Welcometohttp://www.newton360.com togetmoreinformatin,includingWindows7tips,news,wallpapersandsoftwares...etc.
Best Place for Document Management Drupal Content Management System and benefits Anger Management and the Holidays- 3 Steps to a stress free Holiday Season Lead Management Systems Why Absence Management Is Important Introductory Information about Event Management System Importance of Management System Certification Time Management Tips When Blogging Debt Management Tricks To Deal With Personal Debt Problems How To Choose A Content Management System? Organizing Your Employees Through Workforce Management Time And Management Tips For Families Why Do Project Management Training
www.yloan.com
guest:
register
|
login
|
search
IP(216.73.216.125) California / Anaheim
Processed in 0.017539 second(s), 7 queries
,
Gzip enabled
, discuz 5.5 through PHP 8.3.9 ,
debug code: 28 , 3249, 132,