Total7zip

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

Moderators: sheep, Hacker, Stefan2, white

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

Re: Total7zip

Post by *petermad »

Are you sure it's a tar file
Not 100%, but the file size is close to the size of tar files made with TC's internal tar packer, and the file size is very big, indicating no compression.

how does the packer know to create tar from that extension ?
I don't know, but i works. I have the: 7zip_tar=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx setting from the readme.rtf file that comes with the plugin.
total7zip version...which one are you using ?
Version: 0.8.5.6
License #524 (1994)
Danish Total Commander Translator
TC 9.5b10 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.960 (x64)
TC 3.0b16 on Android 6.0
Get: Extended Total Commander Menus | TC Languagebar | PHSM-Calendar

User avatar
aviasd
Junior Member
Junior Member
Posts: 49
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Re: Total7zip

Post by *aviasd »

Just replied a couple of minutes before you, see my answer above.
I'm using version 0.8.5.6 as well
When you try to add a file to the tar, does the packer see it as tar or 7zip_tar ? It's strange we're getting different behaviours..
A glance to the future: What will Total commander be like in 10 years from now?

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

Re: Total7zip

Post by *petermad »

TC obviously uses Total7Zip for the .7zip_tar file. If I rename the file to .tar I can add/update files without problems.

Another proof that it is the Total7Zip plugin that is ben used for .7zip_tar files is that if I change:

Code: Select all

7zip_tar=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
to

Code: Select all

7zip_tar=733,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
which disables the ability to modify existing archives - then I get a message if I try to add a file, that it is not possible.


Here is my entier [PackerPlugins] section:

Code: Select all

[PackerPlugins]
bat=279,%COMMANDER_PATH%\PLUGINS\WCX\makebat\makebat.wcx
bz2=251,%COMMANDER_PATH%\PLUGINS\wcx\wcx_bz2\bzip2dll.wcx
bzip2=251,%COMMANDER_PATH%\PLUGINS\wcx\wcx_bz2\bzip2dll.wcx
blat=277,%COMMANDER_PATH%\PLUGINS\wcx\Blat\blat.wcx
lst=21,%COMMANDER_PATH%\PLUGINS\wcx\diskdir\diskdir.wcx
CopyTree=277,%COMMANDER_PATH%\PLUGINS\wcx\CopyTree\CopyTree.wcx
sqx=607,%COMMANDER_PATH%\PLUGINS\wcx\Total SQX\TotalSQX.wcx
chm=479,%COMMANDER_PATH%\PLUGINS\WCX\CHMDir\CHMDir.wcx
its=479,%COMMANDER_PATH%\PLUGINS\WCX\CHMDir\CHMDir.wcx
icl=15,%COMMANDER_PATH%\PLUGINS\WCX\ICLRead\ICLRead.wcx
zpaq=535,%COMMANDER_PATH%\PLUGINS\wcx\zpaq\zpaq.wcx
png=327,%COMMANDER_PATH%\PLUGINS\wlx\Imagine\Imagine.wcx 
gif=287,%COMMANDER_PATH%\PLUGINS\wcx\GifWcx\GifWcx.wcx
xlst=31,%COMMANDER_PATH%\PLUGINS\wcx\DiskDirExtended\DiskDirExtended.wcx64
7z_7z=223,%COMMANDER_PATH%\PLUGINS\WCX\7zip\7zip.wcx
7z_jar=95,%COMMANDER_PATH%\PLUGINS\WCX\7zip\7zip.wcx
7z=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
wim=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
xz=731,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
flv=964,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_tar=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_7z=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_zip=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_gzip=731,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_bzip2=731,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_cab=708,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_jar=212,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_arj=196,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_rar=196,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
iso=196,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
jar=212,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
zip0=277,%COMMANDER_PATH%\PLUGINS\wcx\Zip2Zero\zip2zero.wcx
setfolderdate=263,%COMMANDER_PATH%\PLUGINS\wcx\SetFolderDate\setfolderdate.wcx

[PackerPlugins64]
$checksum$=172010214
exts=bat*bz2*bzip2*blat*lst*CopyTree*sqx*chm*its*icl*zpaq*png*gif*xlst*7z_7z*7z_jar*7z*7zip*wim*xz*flv*7zip_tar*7zip_7z*7zip_zip*7zip_gzip*7zip_bzip2*7zip_cab*7zip_jar*7zip_arj*7zip_rar*iso*jar*zip0*setfolderdate*
]
License #524 (1994)
Danish Total Commander Translator
TC 9.5b10 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.960 (x64)
TC 3.0b16 on Android 6.0
Get: Extended Total Commander Menus | TC Languagebar | PHSM-Calendar

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

Re: Total7zip

Post by *petermad »

I just tried to put:

Code: Select all

tar=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
In the [PackerPlugins] section - tghen I can confirm that tryong to add a file to a .tar archive deletes the whole content of the archive and adds the file.
License #524 (1994)
Danish Total Commander Translator
TC 9.5b10 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.960 (x64)
TC 3.0b16 on Android 6.0
Get: Extended Total Commander Menus | TC Languagebar | PHSM-Calendar

User avatar
aviasd
Junior Member
Junior Member
Posts: 49
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Re: Total7zip

Post by *aviasd »

Petermad

You're right,
Removing:

Code: Select all

tar=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
And having just:

Code: Select all

7zip_tar=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
In the config, makes working with tar files work as expected (without even having to choose 7zip_tar in the packer config, just tar is enough)

I'm certain I've checked this with this setting 3-4 times before I posted, and it was not working.. But now it is... odd...

Anyway, thanks for helping me solve this :D :D

PS - thanks for your [PackerPlugins] section too, it gave me a few pointers :)
A glance to the future: What will Total commander be like in 10 years from now?

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

Re: Total7zip

Post by *petermad »

Notice that with:

Code: Select all

7zip_tar=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
it is only the packing that is done with the Total7Zip plugin. Opening .tar files and extracting, adding, updating or deleting files is done by TC's built-in Tar function.

There doesn't seem to be any benefit from packing with Total7Zip compared to the built-in Tar packer - archives are actually a few 100 bytes bigger when packed with Total7Zip.
License #524 (1994)
Danish Total Commander Translator
TC 9.5b10 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.960 (x64)
TC 3.0b16 on Android 6.0
Get: Extended Total Commander Menus | TC Languagebar | PHSM-Calendar

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

Re: Total7zip

Post by *Usher »

petermad wrote:
2020-01-26, 10:35 UTC
There doesn't seem to be any benefit from packing with Total7Zip compared to the built-in Tar packer - archives are actually a few 100 bytes bigger when packed with Total7Zip.
Check filename encoding and you will understand which one is better…
Regards from Poland
Andrzej P. Wozniak

User avatar
aviasd
Junior Member
Junior Member
Posts: 49
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Re: Total7zip

Post by *aviasd »

I Initially looked at the plugin for performance when opening a 2Gb .tgz file.

I mistakenly thought it was tar performance issue but it was gzip issue.

TC internal unpacker takes about 35 seconds to open a 2GB archive while total7zip takes about ~14 for the same file.

For tar archives I don't see any difference in performance really but maybe for the file encoding it's worth using the plugin.
A glance to the future: What will Total commander be like in 10 years from now?

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

Re: Total7zip

Post by *Usher »

It's not about performance. Files in tar are stored, so there shouldn't be any difference in reading speed. The difference is in metadata stored in the archive. Some tar implementations aren't fully compliant with standard specification (f.e. don't save some metadata or add some padding after the end of data stream), while 7-zip always tries to strictly follow the standard (though some compression methods may be unsupported - in case of archive with compression).
Regards from Poland
Andrzej P. Wozniak

Post Reply