Feature request: built-in file compare

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
BIGPILOT
Junior Member
Junior Member
Posts: 13
Joined: 2003-11-26, 13:36 UTC

Feature request: built-in file compare

Post by *BIGPILOT »

There being two directory listings in TC it would be nice to be able to compare files visually. Very handy.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

What do yuu exactly mean?

Compare Directories (Shift+F2) or Synchronize Dirs options aren't enough for you?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Wilhelm M.
Power Member
Power Member
Posts: 1050
Joined: 2003-06-05, 10:45 UTC

Post by *Wilhelm M. »

Hi!

But you can do that already! Use the cm_CompareFilesByContent command. When there differences between the 2 files a new window opens where you can see the files side by side. In this window you can deselct "binary" and compare again. In this case differences between 2 text-only files can be examined.

Suggestion: create a new button and assign it to the above command. Now you need to select the 2 files and press the button - and the files are compared.
Grüße/Regards,
Wilhelm
Loren Pechtel
Junior Member
Junior Member
Posts: 86
Joined: 2004-05-02, 01:50 UTC

Post by *Loren Pechtel »

Not the original poster but I was coming to post a request on this very topic myself so I'll put it here instead.

Yes, there's Shift-F2. It's not good enough, though.

Just today I forgot and ended up cursing it again. The situation:

Panel 1 contained 10 files. Panel 2 contained 11 files, 10 of which should have been identical to those in panel 1. I tagged the relevant files and hit shift-F2. It did it's usual stupid thing in this case, it tried to compare every file to every file rather than comparing them by name.

Simple fix: When multiple files are tagged it should try to match them up by name--if it can do so it should only compare the ones with matching names, not every file to every file. I can't think of a situation where tagging multiple files in both windows would reasonably mean to compare everything to everything.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

What abot Synchronize Dirs? It has compare option in first step.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Loren Pechtel
Junior Member
Junior Member
Posts: 86
Joined: 2004-05-02, 01:50 UTC

Post by *Loren Pechtel »

djk wrote:What abot Synchronize Dirs? It has compare option in first step.
I'm trying to compare them byte by byte, not merely by filename.

I goofed up my last post (stupid allergies!)--it wasn't shift-f2, it was compare by content that I hit and it was stupid about.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Synchronize Dirs does compare files by content (byte by byte)...

HTH
Roman
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Okay, okay... but it doesn't make Coffee, yet. :lol:

deus-ex
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

deus-ex wrote:Okay, okay... but it doesn't make Coffee, yet. :lol:

deus-ex
It's only a problem of a new plugin :-) I'm waiting for it.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

With appropriate hardware it is already done! It's just a matter of copying the right file to the right place!
I switched to Linux, bye and thanks for all the fish!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

But what about tea??


sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

As a plugin.

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
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

fine. With milk and sugar pls

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply