Posts

Showing posts from July, 2025

robocopy : Moving to new computers

 I used robocopy to move data from old computers (multiple) to my new computer. Learning it was painful. Here is what you need to know: Instructions Copy into notepad and edit: robocopy D:\Source\ C:\Destination\ /log:C:\log_01.txt /xj /r:0 /w:0 /mir /np /b /L Substitute your source directory, destination directory, and logfile path. Open a CMD prompt with Run as Administrator. Run once with /L. This will fill the log with what would have copied, but not actually copy anything. Review the log. Search for ERROR. Remove the /L and run it. Examine the logfile. If necessary, run it again to get anything you corrected from the log. Notes /log: - The logfile is desirable because it is much (orders of magnitude) faster than having all the output go to the CMD prompt. /xj - Exclude junction points. These are usually links to other directories, this will prevent an infinite loop of subfolders. /r:0 - no retries. /w:0 - no waiting. /mir - Mirror the directory. /np - Don't fill up the l...