How to use grep in .zip file

后端 未结 2 2161
陌清茗
陌清茗 2021-02-16 00:17

There are 3 files a.csv,b.csv,c.csv zipped as abh.zip, now is it possible to execute grep command on abh.zip (is there any wild card by which only grep run for c.csv file inside

2条回答
  •  执笔经年
    2021-02-16 00:26

    you can run zipgrep command with pip operator as below.then you can only set name"

    zipgrep "name" abh.zip | grep c.csv

提交回复
热议问题