Return to site

Robocopy Cheat Sheet

· Quick Tips,Articles

Sandline Discovery - Insight, Ideas and eDiscovery

Practically everyone who works in lit support has had to use Robocopy or advise someone on how to use it. It helps to create a personal Robocopy cheat sheet including the switches needed to safely copy files that need to be processed for review. Here is mine:

robocopy [source] [destination] /b /dcopy:T /xj /tee /fp /r:0 /e /np /v /log+:[logfile]

Beware the /xj option may skip files, but is sometimes necessary to avoid infinite symlink loops. That's another article...

Here is the breakdown of what you are constructing:


Source Directory (drive:\path or \\server\share\path)


Destination Directory (drive:\path or \\server\share\path)


Copy files in Backup mode


COPY Directory Timestamps


eXclude Junction points. (normally included by default)


Output to console window, as well as the log file


Include Full Pathname of files in the output


Number of Retries on failed copies: default 1 million


Copy subdirectories, including Empty ones


No Progress - don't display percentage copied


Produce Verbose output, showing skipped files


Output status to LOG file (append to existing log)

We also plan to share another Quick Tip on transferring data with Virtual Disks that may be worth a bookmark as well!

Written by Joe Ulfers

All Posts

Almost done…

We just sent you an email. Please click the link in the email to confirm your subscription!