Compare folders (highlight "missing" files or subfolders?)

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Compare folders (highlight "missing" files or subfolders?)

Post by *sidefx88 »

Hi, maybe this is a very silly question, but I couldn't find a way TC solve this for me.

I have this two different folders. The left one contains 77 subdirs, and the right one contains 75 folders. That's almost the same, but I need TC to find the two folders that are in one panel but not in the other. I've tried Shift+F2 and Compare on the Sync dirs tool but it didn't find the two folders that I need highlighted or something like that...

Image: https://goo.gl/oW8pyc

Is there a way to compare two folders and highlight the files or subfolders that are "missing" on the other panel?

Thanks!
I Love Total Commander!
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Compare folders

Post by *tuska »

cm_CompareDirsWithSubdirs
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Re: Compare folders

Post by *sidefx88 »

Worked like a charm. I will read about related cm_Compare commands and variants. Thanks!
I Love Total Commander!
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Compare folders

Post by *tuska »

In the CommandBrowser -> cm_CommandBrowser there are three entries for Filter: cm_comp

Code: Select all

cm_CompareDirs	        	533	Compare dirs
cm_CompareDirsWithSubdirs	536	Also mark subdirs not present in other dir
cm_CompareFilesByContent	2022	File comparison
User avatar
sidefx88
Senior Member
Senior Member
Posts: 294
Joined: 2007-04-11, 17:07 UTC
Location: Argentina

Re: Compare folders

Post by *sidefx88 »

Thanks!
I Love Total Commander!
Lissandragaren3
Junior Member
Junior Member
Posts: 2
Joined: 2019-01-02, 04:38 UTC

Re: Compare folders

Post by *Lissandragaren3 »

tuska wrote: 2019-01-01, 22:50 UTC cm_CompareDirsWithSubdirs
thank you bro!!!



[MTAG]
IceLancer
Junior Member
Junior Member
Posts: 15
Joined: 2019-01-30, 18:35 UTC

Re: Compare folders

Post by *IceLancer »

tuska wrote: 2019-01-01, 23:14 UTC In the CommandBrowser -> cm_CommandBrowser there are three entries for Filter: cm_comp

Code: Select all

cm_CompareDirs	        	533	Compare dirs
cm_CompareDirsWithSubdirs	536	Also mark subdirs not present in other dir
cm_CompareFilesByContent	2022	File comparison
Love this man! :oops: Thanks
Post Reply