grep for content at the end of a file

By rainkinz on Mar 10, 2014, comments 4
find . -type f -name "*.log" -exec /bin/bash -c '(tail -n 500 "$1" | grep -q "not in gzip format") && echo "$1"' _ {} \;
5948
046ebbe2f2bb7ee3d0c6331feb0ef3f5.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest Karcy on Jan 06, 2016 at 7:58 PM

Kudos! What a neat way of thniking about it.

Comment: