Jump to content

Comparing Folders

Go to solution Solved by LogicalDrm,

FreeFileSync. You can use it to setup automatical syncing too, I mainly use it manually.

Hey guys, hoping you can help. I'm not super tech advanced, as you'll see in a sec. I have manually been backing up a couple of folders (old school copy and paste) and I know I missed a bunch of files. How can I best compare the folders to see which files I missed? Then, which back up programs are easy to use so I no longer need to copy/paste as I go?

Thanks in advance!

Intel Core i7-11700K || Nvidia GeForce RTX 3060 Ti || 1TB Corsair MP600 PRO XT & 2TB Samsung 980 Pro || Adata DDR4 3200 4x8GB || Asrock Z590-C/ac

Link to comment
https://linustechtips.com/topic/1447959-comparing-folders/
Share on other sites

Link to post
Share on other sites

I use scripts do backup everything, primarily using robocopy in Windows, rsync in Linux.

 

Here is an example of robocopy from Windows, this will make make  Q: amd M: exactly the same. It will remove files from M: that have been deleted on Q:. Robocopy only changes updated, or new files, so it skips files that are new.

 

robocopy Q: M: /xf /E /PURGE /R:2 /W:2 /TIMFIX

 

I use xcopy for when I don't want windows to remove files (only copy changed files, but don't delete things):

 

xcopy Q: M: /d /y /r /h /s /c /f /i

 

And an rsync example from one of my Linux scripts (similar to the robocopy command above):

 

rsync -avih --progress --delete-during "/source/" "/destination/"

Link to comment
https://linustechtips.com/topic/1447959-comparing-folders/#findComment-15513365
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×