Quick compare of directory names left and right pane

English support forum

Moderators: Hacker, petermad, Stefan2, white

Morgoth
Junior Member
Junior Member
Posts: 4
Joined: 2007-10-19, 14:20 UTC

Quick compare of directory names left and right pane

Post by *Morgoth »

Could someone tell me how I could quickly compare directory names in the left and right pane and then easily select or deselect te ones missing in one pane compared to the other pane? I'm quite certain this thing is possible within TC..i just dont know how atm so if someone could fill me in how to do this. Thanks.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Shift-F2.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2Hacker

but this works only for filenames and not for directory names, or am I wrong?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Not for dirs

Post by *Clo »

2StickyNomad

:) Hello !

• It seems you are right. That doesn't work for dir. names here…

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Ah, yup, sorry. :oops:

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Morgoth wrote:quickly compare directory names in the left and right pane
Hacker wrote:Shift-F2.
...which also selects files existing in both panels, if their time/date differs.
Morgoth wrote:and then easily select or deselect te ones missing in one pane compared to the other pane?
If you want to copy only single files, that do not exist in the other panel,
I'd recommend the Commands -> "Synchronize Dirs" tool (cm_FileSync) -
there you can hide "duplicates" (existing on both sides).

[Edit:]
This works for files only - I overlooked that dir names should be compared, sorry.
Last edited by StatusQuo on 2007-10-20, 11:40 UTC, edited 1 time in total.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
petermad
Power Member
Power Member
Posts: 16116
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

How about using the command: cm_CompareDirsWithSubdirs - it selects both dirs and files that are different/missing.

If you only want the directories marked you can use Ctrl+Shift+Num- (or cm_ClearAllFiles) AFTER you have used cm_CompareDirsWithSubdirs
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Tiny tool

Post by *Clo »

2petermad

:) Hello Peter !

Morgoth could perform that operation as one go - as he wishes if I understood correctly -
using the tiny tool “TC multiple commands” by Maciej Adamczyk,
which can send a sequence of commands with an adjustable delay between each one (for a button)…

:mrgreen: FR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
solid
Power Member
Power Member
Posts: 755
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

What's wrong with ALT+SHIFT+F2?
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

solid,
What's wrong with ALT+SHIFT+F2?
Nothing, it let's you choose the drive in the right panel, as usual. Holding Shift is not necessary, though. ;)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
solid
Power Member
Power Member
Posts: 755
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

Nothing, it let's you choose the drive in the right panel, as usual. Holding Shift is not necessary, though.
Hmmm, my mistake. :oops:
I mapped "cm_CompareDirsWithSubdirs" to ALT+SHIFT+F2 so long ago, so thought it was a TC default hotkey.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Please note that "cm_CompareDirsWithSubdirs" will only mark new directories. It will not check whether anything has changed inside of directories which are present on BOTH sides...
Author of Total Commander
https://www.ghisler.com
carouselcarousel
Junior Member
Junior Member
Posts: 6
Joined: 2022-04-21, 14:04 UTC

Re: Quick compare of directory names left and right pane

Post by *carouselcarousel »

Is there a working solution for this?
I'm also looking for a way to compre directory names of 600k-600k folders. (ONLY NAMES NOT CONTENT)

SHIFT+F2 compre only the filenames. :( And didn't found any option to change it to compare foldernames too.
Or a Plugin https://www.ghisler.com/plugins.htm ?

(I'm not familiar to create my own scripts and plugins)
User avatar
white
Power Member
Power Member
Posts: 5986
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Quick compare of directory names left and right pane

Post by *white »

2carouselcarousel
What's wrong with using cm_CompareDirsWithSubdirs?
User avatar
nsp
Power Member
Power Member
Posts: 1949
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Quick compare of directory names left and right pane

Post by *nsp »

You can compare using directory synchronization:
Check empty directory
Check subdirs
check igore date

in filter just use a dummy name like ???

then call compare !

If you want to reuse, you can save it with name CompareFolderNames (do not save path)...

You can reuse it with a command like SYNCOPEN =CompareFolderNames

Code: Select all

TOTALCMD#BAR#DATA
SYNCOPEN
=CompareFolderNames
wcmicons.dll



-1
Post Reply