Skip to content

Instantly share code, notes, and snippets.

@groony
Created March 24, 2017 08:08
Show Gist options
  • Save groony/147e63b17cf3570de45ad22216613525 to your computer and use it in GitHub Desktop.
Save groony/147e63b17cf3570de45ad22216613525 to your computer and use it in GitHub Desktop.
find_list_files.txt
zcat production.log-20161231.gz | grep 'PATCH "/admin/promotions/694"' -A 3 | grep 'goods_required_amount'
find . -type f -name 'production*\.gz' -exec sh -c "zcat {} | grep 'PATCH "/admin/promotions/694"' -A 3 | grep 'goods_required_amount'" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment