Showing posts with label bash. Show all posts
Showing posts with label bash. Show all posts

Thursday, September 13, 2018

Search in gz and plain files recursively

reset;\
find -name \*.log -print0 | xargs -0 grep "delete from"; \
find -name \*.gz -print0 | xargs -0 zgrep "delete from";