grep from tar.gz without extracting [faster one]

前端 未结 8 668
Happy的楠姐
Happy的楠姐 2020-12-13 04:02

Am trying to grep pattern from dozen files .tar.gz but its very slow

am using

tar -ztf file.tar.gz | while read FILENAME
do
        if tar -zxf file         


        
8条回答
提交回复
热议问题