grep for content at the end of a file

By rainkinz on Mar 10, 2014, comments 5
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.

6464
42958c3c1d07f5f2f78e71a3ad609bba.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest ElvaEpo on Dec 25, 2017 at 10:33 PM

апрапрапр

Comment: