Is there a piece of software that will compare two folders (and their subfolders) and produce a list of all the files that are in one folder but not the other?

Is there a free software that will compare two folders (and their subfolders) and produce a list of all the files that are in one folder but not the other?
SebSystems AdminAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Yes.  Beyond Compare. Scooter Software
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Joe Winograd, Fellow&MVEDeveloperCommented:
free software
Beyond Compare
Hi John,
AFAICT from their website, it's not free software. There are Standard and Pro editions, but neither is free. Do you have a link for a free edition? Regards, Joe
0
JohnBusiness Consultant (Owner)Commented:
The problem at hand needs good file compare software. Beyond Compare is quite inexpensive and does the job. I do not know of any free software that will do what was asked.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

NVITCommented:
Directory Compare. Freeware. by Juan M. Aguirregabiria: http://tp.lc.ehu.es/jma/win95.html. Pick Directory Compare at left pane. I've been using it a long time. Works fine.
From author's site: Copyrighted material (see the copyright notice in the documentation for each program). But you can freely use and distribute them. You cannot sell them.

If you like shareware, Total Commander. $43. Commands > Synchronize Dirs > Compare
1
Joe Winograd, Fellow&MVEDeveloperCommented:
The problem at hand needs good file compare software.
Can't argue with that! But since Seb asked for free software, I have two ideas:

(1) I've been using an excellent file manager called Total Commander for many years. It is shareware, not freeware, but you may download a fully functional version for a test period of 30 days (the website says, "After testing the program, you must either order the full version, or delete the program from your harddisk"). Total Commander has a feature called Synchronize Dirs on its Commands menu...works great!

(2) The second idea is truly free. I'm a big fan of the free AutoHotkey language. This Experts Exchange article explains how to download, install, and use it:
AutoHotkey - Getting Started

An AutoHotkey community member wrote a script called SuperSynchronizer, available for free. Here's a link to the AutoHotkey forum page for it:
https://autohotkey.com/boards/viewtopic.php?t=1288

That has a link to the member's GitHub page with the full source code:
https://github.com/cyruz-git/SuperSynchronizer

I haven't used SuperSynchronizer in production, since I have a multi-user, licensed copy of Total Commander, but I tested it in W7 Pro 64-bit and W10 Pro 64-bit, both with the latest release of AutoHotkey (1.1.30.00), and my experimentation with it has been 100% successful. I can't say that it is as robust as commercial programs like Beyond Compare and Total Commander, but it may be just the ticket for folks on a limited budget. It has a "simulation" mode, which you can run first to view in the logfile what files would have been copied in both directions during a live run. Regards, Joe
1
David Johnson, CD, MVPOwnerCommented:
or the powershell way
$folder1 = get-childitem -Path G:\CMTP\CMTPHydration -Recurse
$folder2 = Get-ChildItem -Path G:\cmtp\ISO\Content\Deploy -Recurse

Compare-Object -ReferenceObject $folder1 -DifferenceObject $folder2

Open in new window

1
Martyn SpencerManaging DirectorCommented:
If you would like a graphical differencing tool, I find that Meld does the job well. Check out http://meldmerge.org/
1
Senior IT System EngineerIT ProfessionalCommented:
You can also try this PowerShell script which compares the directory and its subdir contents:

$path1 = "C:\Dir1\Sub1"
$path2 = "C:\Dir2\Sub2"
$Files1 = Get-ChildItem -path $path1 -Recurse -File
$Files2 = Get-ChildItem -path $path2 -Recurse -File
foreach ($file1 in $files1) {
	foreach ($file2 in $files2) {  
		If ($file1.Name -eq $file2.Name) {
			   break
		} else {
			Write-Host $file1.DirectoryName "\" $file1.Name " not found in" $path2
		}
	}
}

Open in new window

0
SebSystems AdminAuthor Commented:
I used Beyond Compare and Ultra Compare. Both works for me. -- Much appreciated!
0
JohnBusiness Consultant (Owner)Commented:
Thanks. I have both the above here and Beyond Compare works great.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.