Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wapmorgan opened this issue Feb 7, 2021 · 2 comments
Open

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

wapmorgan opened this issue Feb 7, 2021 · 2 comments
Assignees

Comments

@wapmorgan
Copy link
Contributor

wapmorgan commented Feb 7, 2021

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

@Gemorroj Gemorroj self-assigned this Feb 14, 2021
@Gemorroj
Copy link
Owner

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

@wapmorgan
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants