Home
Forums
New posts
Search forums
What's new
New posts
New media
New media comments
New resources
New profile posts
Latest activity
Media
New media
New comments
Search media
Resources
DayZ Tools
Latest reviews
Search resources
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
DAYZ DEVELOPER AND SYS-ADMIN
DAYZ TOOLS
DayZ Tools General Q&A
Robocopy and Commands
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CMOGAMING" data-source="post: 11" data-attributes="member: 1"><p>When using robocopy it this information may be of benefit if you're not familiar with the proper commands and/or syntax</p><p></p><p></p><p><strong>Explanation:</strong></p><p></p><p>- <strong>/MIR:</strong> Mirrors the directory tree (copies all subdirectories) and deletes files in the destination that have been removed from the source.</p><p>- <strong>/Z:</strong> Uses restartable mode (survives network glitches) for copying files.</p><p>- <strong>/R:5 /W:5:</strong> Specifies the number of retries on failed copies (default is 1 million retries) and the wait time between retries (in seconds).</p><p>- <strong>/TBD:</strong> Wait for sharenames to be defined (retry error 67).</p><p>- <strong>/NP:</strong> Specifies that file and directory names are not to be logged.</p><p>- <strong>/V:</strong> Produces verbose output, showing skipped files.</p><p>- <strong>/XD "G:\mydayzserver\mpmissions\zeladordev\exclude_folder":</strong> Excludes a specific folder from synchronization.</p><p>- <strong>/XF "G:\mydayzserver\mpmissions\zeladordev\exclude_file":</strong> Excludes a specific file from synchronization.</p><p>- <strong>/LOG:%LOG_FILE% 2>>%ERROR_LOG_FILE%:</strong> Logs the robocopy output to %LOG_FILE% and errors to %ERROR_LOG_FILE%.</p><p></p><p>Replace <em>exclude_folder</em> and <em>exclude_file</em> with the actual names of folders or files you want to exclude from the synchronization process, if needed. If there are no exclusions, remove the <strong>/XD</strong> and <strong>/XF</strong> flags.</p></blockquote><p></p>
[QUOTE="CMOGAMING, post: 11, member: 1"] When using robocopy it this information may be of benefit if you're not familiar with the proper commands and/or syntax [b]Explanation:[/b] - [b]/MIR:[/b] Mirrors the directory tree (copies all subdirectories) and deletes files in the destination that have been removed from the source. - [b]/Z:[/b] Uses restartable mode (survives network glitches) for copying files. - [b]/R:5 /W:5:[/b] Specifies the number of retries on failed copies (default is 1 million retries) and the wait time between retries (in seconds). - [b]/TBD:[/b] Wait for sharenames to be defined (retry error 67). - [b]/NP:[/b] Specifies that file and directory names are not to be logged. - [b]/V:[/b] Produces verbose output, showing skipped files. - [b]/XD "G:\mydayzserver\mpmissions\zeladordev\exclude_folder":[/b] Excludes a specific folder from synchronization. - [b]/XF "G:\mydayzserver\mpmissions\zeladordev\exclude_file":[/b] Excludes a specific file from synchronization. - [b]/LOG:%LOG_FILE% 2>>%ERROR_LOG_FILE%:[/b] Logs the robocopy output to %LOG_FILE% and errors to %ERROR_LOG_FILE%. Replace [i]exclude_folder[/i] and [i]exclude_file[/i] with the actual names of folders or files you want to exclude from the synchronization process, if needed. If there are no exclusions, remove the [b]/XD[/b] and [b]/XF[/b] flags. [/QUOTE]
Verification
Post reply
Home
Forums
DAYZ DEVELOPER AND SYS-ADMIN
DAYZ TOOLS
DayZ Tools General Q&A
Robocopy and Commands
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top