Programmatically extract tar.gz in a single step (on Windows with 7-Zip)

前端 未结 5 1073
我寻月下人不归
我寻月下人不归 2021-01-31 08:45

Problem: I would like to be able to extract tar.gz files in a single step. This makes my question almost identical to this one: Stack Overflow qu

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-31 09:16

    Since you asked for 7-zip or something similar, I am providing an alternative tool that was written for your exact use case.

    The tartool utility is a free and open source tool built using the .NET SharpZipLib library.

    Example commmand to extract a .tar.gz / .tgz - file,

    C:\>TarTool.exe D:\sample.tar.gz ./
    

    Disclaimer : I am the author of this utility.

提交回复
热议问题