Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Robocopy may skip a file because it considers the destination copy current, a filter excludes the file, or the command does not traverse the relevant folder. A skipped item is not automatically an error: check the command, the detailed log, and the return code to distinguish normal behavior from an unintended omission or a failed copy.

Why does Robocopy skip files?

Robocopy compares the source and destination and does not necessarily copy every source file on every run. Microsoft documents return code 0 as a run in which no files were copied and no failure or mismatch was reported; files already existed at the destination and were skipped. Other skips may result from command-line filters, directory traversal settings, or comparison switches.

Start by finding the specific path in the log and checking the exact command, including settings loaded from a job file. The word “skipped” alone does not tell you whether the file was already current, excluded, or involved in a failed operation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The destination file is treated as current

Robocopy’s comparison behavior can treat a destination file as already present and current. Compare the source and destination names, sizes, timestamps, and attributes, then check whether the command uses comparison switches that change which files are considered.

#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
  • /XC excludes existing files with the same timestamp but different sizes.
  • /XN excludes source files newer than the destination.
  • /XO excludes source files older than the destination.
  • /XL excludes “lonely” source files that are not present at the destination.
  • /XX excludes extra destination files.

/IS includes identical files, while /IT includes “tweaked” files under Microsoft’s documented definitions. Do not add either switch indiscriminately: first establish which comparison behavior the task requires.

A selection filter excludes the file

Review file patterns after the source and destination paths, as well as exclusion and attribute filters. A command such as robocopy source destination *.txt /E considers only files matching the positional pattern; expected files of other types are outside that selection.

Rank #2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
  • /XF excludes matching file names or patterns; /XD excludes directories.
  • /XA filters by file attributes.
  • Minimum or maximum size options can exclude files based on size.
  • Age and access-date options can exclude files based on their dates.

The command does not traverse the relevant folder

/S copies subdirectories but omits empty ones. Use /E when empty subdirectories should also be included. /LEV:n limits the tree to the specified number of levels. Also verify that the source path is the intended root and that an exclusion has not removed a relevant directory.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The log shows an access or copy error

An access-denied message or another copy error is not a harmless “already current” skip. Check permissions and the account running Robocopy. Microsoft documents /B and /ZB as backup-mode options that can override file and folder permission settings, subject to the execution account and environment.

Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Azure Files migration has additional service-specific account and share-mount considerations. Microsoft’s Azure guidance applies to that migration scenario; do not treat its setup requirements as universal rules for local or other network copies.

Timestamp differences affect comparison

/FFT assumes FAT file times with two-second precision. Microsoft also documents /DST for one-hour daylight-saving-time differences. These are compatibility options for relevant timestamp behavior, not general-purpose fixes for skipped files.

Rank #4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

How to diagnose a skipped file safely

  1. Record the complete command. Note the source and destination paths, all switches and file patterns, and whether a /JOB file supplies additional settings.
  2. Run a reviewable diagnostic pass. Use /V to show skipped files and /LOG:<path> to record output in a fresh log. Consider /TS for timestamps and /FP for full paths. Microsoft’s Robocopy documentation recommends creating a log to review after the run.
  3. Preview before changing files. Add /L to list intended actions without copying, deleting, or timestamping files. Review the output before running a command that changes data.
  4. Find the exact path in the log. Determine whether it was excluded by a pattern or traversal rule, treated as identical or current, or associated with an error.
  5. Compare the two file entries. Check names, sizes, timestamps, and attributes. If the log reports access problems, investigate permissions for the account running the command.
  6. Change only the setting that explains the result. For example, use /E if the missing items are empty subdirectories, or remove an unintended filter if the file matches it.
  7. Verify the final return code. Interpret it using the table below rather than treating every nonzero result as a failed run.

What do Robocopy return codes mean?

Robocopy return codes combine status conditions. Codes 1–7 can indicate copied files, extra destination items, or mismatches without a reported failure. Code 8 or higher indicates at least one failure.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Code Meaning
0 No files copied; no failure or mismatch. Files already existed at the destination and were skipped.
1 All files copied successfully.
2 Extra files or directories are present at the destination; none were copied.
3 Files were copied, and extra destination items are present; no failure was reported.
5 Files were copied, and mismatches are present; no failure was reported.
6 Extra and mismatched items are present; no files were copied and no failure was reported.
7 Files were copied, with mismatches and extra destination items.
8 or higher At least one failure occurred.

Scripts that call Robocopy should account for its documented nonzero status codes; a nonzero code does not by itself mean the entire run failed.

Best Value
Sale
UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0
  • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
  • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
  • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
  • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Which Robocopy switch should you use?

Need or symptom Documented option Important distinction
Include empty subdirectories /E /S omits empty subdirectories.
Show skipped files /V Pair it with a log for review.
Record run output /LOG:<path> Choose a new log or append intentionally.
List intended actions without making changes /L List-only: no copying, deleting, or timestamping.
Skip source files older than destination /XO Can suppress older source updates by design.
Skip source files newer than destination /XN Can suppress newer source updates by design.
Exclude same-timestamp, different-size existing files /XC Check whether this comparison behavior is intended.
Include modified files /IM Microsoft’s modified-file definition depends on change-time support.
Include “tweaked” files /IT Relevant to certain attribute or ACL fidelity scenarios.
Retry failed copies /R:n and /W:n Set retry count and wait time deliberately; defaults can mean long delays.

Why /MIR needs extra care

/MIR mirrors the directory tree and includes purge behavior: destination files and directories that do not exist at the source can be deleted. Confirm that both roots point to the intended locations before running it. Microsoft’s Azure Files migration guidance warns that mismatched source and destination folder levels can cause extensive deletions and recopies. The same caution applies whenever a mirror operation could remove destination-only data.

/PURGE also removes destination items that do not exist at the source. Use /L to inspect intended actions first, then verify the source, destination, and preview before using either purge behavior.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$229.99
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$208.99

Microsoft references

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.