Sample Header Ad - 728x90

grep text only from files less than x size inside 7z

0 votes
1 answer
235 views
I have a 7z file that contains binary data and both large (>1Mb) and small ( tmplist1 num="6" grep -E "\s[0-9]{$num}\s" tmplist1 | grep -oE '[^[:space:]]+$' | sed "s/^/*/" > tmplist2 7z e -o/tmp test.7z -i@tmplist2 -aos grep -E "*string*" /tmp/*.xml > tmplist3 ```
Asked by dsaizt (11 rep)
Jun 17, 2023, 06:49 AM
Last activity: Jun 27, 2023, 09:24 PM