Synchronizing TC's directory with its .cab

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: sheep, Hacker, Stefan2, white

Post Reply
browny
Senior Member
Senior Member
Posts: 209
Joined: 2007-09-10, 13:19 UTC

Synchronizing TC's directory with its .cab

Post by *browny »

I tried to use Synchronize tool on TC's installation (Windows 10 1903, 32-bit) and a freshly downloaded beta 2 .cab.
Entered into the .cab, launched the Sync tool, checkmarked by content and ignore date only.
Pressed Compare.
The list of files was the same when Equal files and/or Unequal files were active; and this did not change after syncing.

Both 9.22a and 9.50 b2 have this issue.

User avatar
MVV
Power Member
Power Member
Posts: 8503
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Synchronizing TC's directory with its .cab

Post by *MVV »

Are you sure you have downloaded proper archive file?
When I tried to download 9.50b2 CAB, my browser took download page from cache so I've downloaded totalcmd950b1x32_64.cab instead of totalcmd950b2x32_64.cab and couldn't find any differences too. :D

browny
Senior Member
Senior Member
Posts: 209
Joined: 2007-09-10, 13:19 UTC

Re: Synchronizing TC's directory with its .cab

Post by *browny »

The name is totalcmd950b2x32_64.cab.
At first the issue was seen in 9.22a, so beta 1 here should make no difference.

User avatar
petermad
Power Member
Power Member
Posts: 9702
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Synchronizing TC's directory with its .cab

Post by *petermad »

2browny
It is because TC cannot make the comparison by content in a cab file - therefore you se a "?" for all files when either/or the equal and unequeal button is activated, indicating that no comaprison has taken place - the same you se for comparing two ordinary directories, until the comparison is finished for each file.

It seems to depend on the archive format whether TC can compare by content when synchronizing.

Here it works for:
ZIP, 7Z, RAR, JAR, ARJ, LZH, TAR, TGZ, WIM, CHM, DOCX, XLSX

but not for:
CAB, ACE, SQX, ZPAQ, ICL
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

browny
Senior Member
Senior Member
Posts: 209
Joined: 2007-09-10, 13:19 UTC

Re: Synchronizing TC's directory with its .cab

Post by *browny »

petermad wrote:
2019-10-24, 00:42 UTC
It is because TC cannot make the comparison by content in a cab file
Probably your are right.
However, TC can extract files from .cab, and thus comparison by content is possible.

User avatar
petermad
Power Member
Power Member
Posts: 9702
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Synchronizing TC's directory with its .cab

Post by *petermad »

However, TC can extract files from .cab, and thus comparison by content is possible.
Sure - I wonder why some formats are supported and som are not for the compare by content feature in the Sync tool.
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

User avatar
Usher
Power Member
Power Member
Posts: 873
Joined: 2011-03-11, 10:11 UTC

Re: Synchronizing TC's directory with its .cab

Post by *Usher »

Many archive formats are supported by plugins, so it depends on plugin capabilities.
Regards from Poland
Andrzej P. Wozniak

User avatar
petermad
Power Member
Power Member
Posts: 9702
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Synchronizing TC's directory with its .cab

Post by *petermad »

2Usher

Probably, but unpacking of ACE is supported internally in TC, and still I cannot use "by content" in ACE archices when synchronizing
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

User avatar
Usher
Power Member
Power Member
Posts: 873
Joined: 2011-03-11, 10:11 UTC

Re: Synchronizing TC's directory with its .cab

Post by *Usher »

2petermad
Have you tested it with old unpatched unacev2.dll? Forgot about Security problem in unacev2.dll?
Regards from Poland
Andrzej P. Wozniak

User avatar
petermad
Power Member
Power Member
Posts: 9702
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Synchronizing TC's directory with its .cab

Post by *petermad »

2Usher
I tested it with 64bit TC - it doesn't have a separate unacev2.dl - only the 32bit version does.

EDIT
I have now tested in 32bit TC with version 2.6.0.0 of unacev2.dll from TC 9.0 - still cannot compare contents in Sync tool.
Last edited by petermad on 2019-10-24, 19:00 UTC, edited 1 time in total.
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

User avatar
Usher
Power Member
Power Member
Posts: 873
Joined: 2011-03-11, 10:11 UTC

Re: Synchronizing TC's directory with its .cab

Post by *Usher »

2petermad
No wonder it doesn't work ;-P
Regards from Poland
Andrzej P. Wozniak

User avatar
petermad
Power Member
Power Member
Posts: 9702
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Synchronizing TC's directory with its .cab

Post by *petermad »

Usher wrote:
2019-10-24, 18:37 UTC
2petermad
No wonder it doesn't work ;-P
I am not sure what you mean by that?
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

User avatar
Usher
Power Member
Power Member
Posts: 873
Joined: 2011-03-11, 10:11 UTC

Re: Synchronizing TC's directory with its .cab

Post by *Usher »

2petermad
I have sent my comment before your EDIT, so it's been about trying to run 32-bit dll from 64-bit app.
Regards from Poland
Andrzej P. Wozniak

Post Reply