How to diff two folders from a Windows command prompt
I was migrating files between two servers this weekend. One was our EMC VNX the other was a Nasuni filer. Nasuni has a built in migration tool using their web UI. It was working fine all week, but the night of the cut over it couldn’t complete a sync job. Since I had been syncing it all week I knew 99% of the files where there and correct. I wanted to find which files may have changed on Saturday morning. A quick google search and I found this syntax for robocopy it worked perfectly.
Diff Command Using RoboCopy
So here?s the command to perform a basic comparison of two folders and write a log file listing the differences.
ROBOCOPY “\\FileShare\SourceFolder” “\\FileShare\ComparisonFolder” /e /l /ns /njs /njh /ndl /fp /log:reconcile.txt
via How to diff two folders from a Windows command prompt | Improving Software.
Hope this helps someone else out. I found other solutions using powershell or 3rd party software. But this worked and was quick and easy.
How to manage the local administrators group on Azure AD joined devices
After a device is deployed likely using autopilot, sometime you have a need to add an AzureAD user to the...
Azure AD and Windows hello for business, SSO for on-premises resources
We disabled WFB when we first rolled out autopilot because we are not ready to deploy and support passwordless at...
Recover Microsoft forms from old users
Microsoft forms are a great way to collect data from the user. However, what happens when the user leaves the...
Creating a document management system with SharePoint
Searching for documents can be a cumbersome and time-consuming task, especially if there is no proper system in place for...
Internal certificates for desktop phones
We are looking at a new cloud based phone system. Most use Poly or Yealink phones, we use 802.1x on...
Intune certificate connector
upgrading to certificate connector 6.2 that is required in Sept 2022, has broke our NDES for intune. I'm collecting all...