Compare files inside 7z archives

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Flarna
Junior Member
Junior Member
Posts: 12
Joined: 2011-04-02, 20:31 UTC

Compare files inside 7z archives

Post by *Flarna »

Is it somehow possible to compare files via the Total Commander function to compare folders which are inside a 7z archive?

e.a. in left window I list files inside some folder in a 7z file
in right window I have some folder on my disk

now I press the compare folders button.

I get the file lists but total commander can't tell if the files are equal or not.

if I do the same with a .zip file instead a .7z file it works fine and files are compared.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

Thats because Zip is handled internal by TC while 7zip-Files need 7Zip-Plugins to work and though the answer is no.
Hoecker sie sind raus!
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Flarna.

I do not quite understand which problem you are experiencing.
  • In the left panel the 7z-archive Lucid_TC_Config.7z is opened. - This file holds all relevant T.C. configuration files.
  • In the right panel the Total Commander programme folder is opened. - No need to explain what might be in it.
  • The function "Mark => Compare Directories" is launched.
    Total Commander definitely marks all files in the right panel which
    + either do not exist in the left panel (7z-archive)
    + or are newer than in the left panel (7z-archive)
So "Compare Directories" does work as far as I can tell.
Did I miss something?

Kind regards,
Karl
--
Environment:
+ Ubuntu 10.04 (Lucid Lynx), 32-bit
+ Wine 1.2.2
+ Total Commander 7.56a
+ 7zip plugin v0.5.8, 2008-01-20
Flarna
Junior Member
Junior Member
Posts: 12
Joined: 2011-04-02, 20:31 UTC

Post by *Flarna »

Sorry, seems I was not concrete enough.
Compare directories with flag 'by content' set doesn't work in 7z files as in zip files.
For 7 zip files I get only "?" (if size and timestamp matches) whereas for zip files a real comparison is done and I get an equal or not equal result.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Hello Flarna,
Compare directories with flag 'by content' set doesn't work in 7z files as in zip files.
You probably mean Synchronize directories instead of Compare directories?

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.
Flarna
Junior Member
Junior Member
Posts: 12
Joined: 2011-04-02, 20:31 UTC

Post by *Flarna »

Hacker wrote:You probably mean Synchronize directories instead of Compare directories?
Yep, you are correct. Next time I use total commander to translate...
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

2Flarna: your question was allready answered by me
(your english is as bad as mine so i figured u mean synchronize...)
Hoecker sie sind raus!
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Flarna. Hello, Sir_SiLvA.

Total Commander function "Synchronize Dirs ...": I can confirm that "Compare by content" does not work for 7z-archives here, either. :)

Cheers,
Karl
Post Reply