Archive7z icon indicating copy to clipboard operation
Archive7z copied to clipboard

Extracting tar.gz/tar.bz2 in one-step

Open wapmorgan opened this issue 4 years ago • 2 comments

Feature request: treat tar.gz/tgz archive as a tar archive with compression, not as an archive compressed to gz file.

Right now it treats UnifiedArchive.tar.gz like

                                          File name | Size | Date              
--------------------------------------------------------------------------------
UnifiedArchive.tar                                  | 0.0g |  01 Jan 1970, 3:01
--------------------------------------------------------------------------------
                                    Total 1 file(s) | 0.0g | 0.0g

My propose is to handle this case. CLI for this is 7z x -so ../UnifiedArchive.tar.gz | 7z l -si -ttar.

Detailed information: https://superuser.com/questions/80019/how-can-i-unzip-a-tar-gz-in-one-step-using-7-zip

wapmorgan avatar Feb 07 '21 16:02 wapmorgan

I think we can do it by configurable parameter. Like OVERWRITE_MODE_*.

Gemorroj avatar Feb 14 '21 11:02 Gemorroj

No, it requires two commands to get list of files/to extract - like 7z x -so ../UnifiedArchive.tar.gz | 7z l -si -ttar. And this is required for all operations

wapmorgan avatar Feb 15 '21 08:02 wapmorgan