Robocopy.exe robust file copy utility


















Click Sign In to add the tip, solution, correction or comment that will help other users. Report inappropriate content using these instructions. Robocopy and a Few Examples. Table of Contents. Copies subdirectories. Note that this option excludes empty directories.

Note that this option includes empty directories. Copies only the top N levels of the source directory tree. Uses Restart mode. If access is denied, this option uses Backup mode. Specifies the file properties to be copied.

Fixes file security on all files, even skipped ones. Deletes destination files and directories that no longer exist in the source. Moves files, and deletes them from the source after they are copied.

Moves files and directories, and deletes them from the source after they are copied. Removes the specified attributes from copied files.

Creates a directory tree and zero-length files only. Creates destination files by using 8. Turns off support for very long paths longer than characters. Monitors the source, and runs again when more than N changes are detected.

Monitors source, and runs again in M minutes if changes are detected. Specifies run times when new copies may be started. Checks run times on a per-file not per-pass basis. Specifies the inter-packet gap to free bandwidth on slow lines. Copies only files for which the Archive attribute is set. Copies only files for which the Archive attribute is set, and resets the Archive attribute.

Includes only files for which any of the specified attributes are set. Excludes files for which any of the specified attributes are set. Excludes directories that match the specified names and paths. Excludes extra files and directories. Extra files are files that exist in the destination directory. Excludes "lonely" files and directories. Specifies the maximum file size to exclude files bigger than N bytes. Specifies the minimum file size to exclude files smaller than N bytes.

Specifies the maximum file age to exclude files older than N days or date. Specifies the minimum file age exclude files newer than N days or date. Specifies the maximum last access date excludes files unused since N. Specifies the minimum last access date excludes files used since N If N is less than , N specifies the number of days. Excludes junction points, which are normally included by default.

Specifies the number of retries on failed copies. The default value of N is 1,, one million retries. Specifies that the system will wait for share names to be defined retry error Skip to main content. This browser is no longer supported. Download Microsoft Edge More info.

Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No. Any additional feedback? Note Any value greater than 8 indicates that there was at least one failure during the copy operation. Submit and view feedback for This product This page. View all page feedback. In this article. Specifies the file or files to be copied. Specifies the options to use with the robocopy command, including copy , file , retry , logging , and job options.

Copies files in restartable mode. In restartable mode, should a file copy be interrupted, Robocopy can pick up where it left off rather than re-copying the entire file. Copies files in backup mode. Backup mode allows Robocopy to override file and folder permission settings ACLs. This allows you to copy files you might otherwise not have access to, assuming it's being run under an account with sufficient privileges.

Specifies which file properties to copy. Specifies what to copy in directories. Deletes destination files and directories that no longer exist in the source. Adds the specified attributes to copied files. Removes the specified attributes from copied files. Creates multi-threaded copies with n threads. The default value for n is 8. Copies only files for which the Archive attribute is set, and resets the Archive attribute.

Includes only files for which any of the specified attributes are set.



0コメント

  • 1000 / 1000