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

前端 未结 5 1074
我寻月下人不归
我寻月下人不归 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:03

    7z e example.tar.gz  && 7z x example.tar
    

    Use && to combine two commands in one step. Use the 7-Zip portable (you will need 7z.exe and 7z.dll only).

提交回复
热议问题