Cannot unzip google takeout file

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
chrisborecki
New Member
New Member
Posts: 1
Joined: 2022-01-07, 14:26 UTC

Cannot unzip google takeout file

Post by *chrisborecki »

1. Go to takeout.google.com and order a zip archive with all your account data.
2. Try to use the Total Commander 10.00 to unzip the archive.

Bug: Some of the files cannot be read, probably to some characters in file names.
Workaround: Use Windows 10 native zip capabilities to unzip the package - no errors.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Cannot unzip google takeout file

Post by *ghisler(Author) »

Can you check whether the file has some special compression? Just press Alt+Enter on the name of the file which cannot be unpacked.
TC does not support some exotic compression methods supported by zipx like some audio compression.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Cannot unzip google takeout file

Post by *ghisler(Author) »

This has been added to TC 10.5 beta:
04.08.21 Added: Unpack ZIP files with Brotli (by Google) compression, mainly used in XPI files (32/64)
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Cannot unzip google takeout file

Post by *Usher »

Note that it doesn't work for files (html, js etc.) in a web browser cache which have no zip fomat. Some of them are compressed with gz (served by http 1.1 protocol), some other with Brotli (served by spdy protocol, now http/2). TC can only unpack gzipped files.
Last edited by Usher on 2022-04-25, 13:27 UTC, edited 1 time in total.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Cannot unzip google takeout file

Post by *ghisler(Author) »

Not confirmed, I can unpack ZIP files with files packed with Brotli inside just fine. Can you send me a sample file which you cannot unpack to support at ghisler dot com, please?
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Cannot unzip google takeout file

Post by *Usher »

2ghisler(Author)
Almost forget, but here you are: brotli+gzip.7z
Some files found in browsers' cache (including files from this very forum) - without extension. The same files are also renamed to *.br and *.gz (and trimmed if needed). TC can open gz files even without extension but cannot open br files without 7z installed with Brotli codec.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Cannot unzip google takeout file

Post by *ghisler(Author) »

Thanks for the test file. That's not what I added:
I have added support for ZIP files where some files inside are compressed with the brotli algorithm instead of the default deflate algorithm.

The file you sent contain .br files, which seem to be a separate file format just for brotli compression, just like gz files are using the gzip file format with deflate compression. These are not supported by Total Commander.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Cannot unzip google takeout file

Post by *Usher »

Well, *.gz files are supported by TC itself. For me it's just reuse of deflate algorithm. Is it so difficult to reuse Brotli algorithm for *.br files?
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Cannot unzip google takeout file

Post by *ghisler(Author) »

I will consider it for a future version. TC 10.50 is feature complete (release candidate), I will not add any new features at this time. Otherwise the beta test would go on forever.

Moderator message

Moved to suggestions
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Cannot unzip google takeout file

Post by *Usher »

OK, I can wait. 7-zip works for now.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply