2ghisler(Author)
Huh? Every .xz archive I create with this plugin or 7-zip contains 7zXZ at its beginning, even when packing just a single log file. Nothing concatenated there.
And as I said, the situation with the newer Linux kernel archives is even worse because the date and time information is missing.
Regards
Dalai
New plugins: .xz and .lzma
Moderators: Hacker, petermad, Stefan2, white
Re: New plugins: .xz and .lzma
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New plugins: .xz and .lzma
The archive which caused you problems had multiple 7zXZ headers inside. They are concatenated archives, which can happen when adding data to an existing file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New plugins: .xz and .lzma
Ah, now I understand. But there must be more to it than just that. Even single .xz archives can show the wrong size (and wrong date and time). Here's what I did:
Is there anything you can do to support such archives?
Regards
Dalai
- Extract the .tar archive from the .xz archive
- Open up 7-zip (File Manager); I'm using the latest stable version 19.00 but I don't think it makes a difference
- Compress the .tar file extracted in step 1 into an .xz archive using these settings:
Compression level: Maximum
Compression method: LZMA2
Dict size: 32 MB
Word size: 64
Solid block size: 128 MB - When done packing, open the created archive in TC
- Check size and date/time of the .tar file and you'll see a discrepancy: size is 128 MiB and time/date for the .tar file will be that of the .xz archive (which is wrong)
Is there anything you can do to support such archives?
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror