grep for content at the end of a file

By rainkinz on Mar 10, 2014, comments 32
find . -type f -name "*.log" -exec /bin/bash -c '(tail -n 500 "$1" | grep -q "not in gzip format") && echo "$1"' _ {} \;
6647
412c48093032cc835e406d7444538be0.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest ktrFmWKu on Mar 27, 2020 at 9:29 PM

EFaUlOckiJHyqeD

6648
412c48093032cc835e406d7444538be0.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest upYRJhOneLXmGwjA on Mar 27, 2020 at 9:29 PM

qYgWrxXpSbdoisC

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.

6675
8aca8e79c7e7d52d62b416c1bb61b162.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest FZsmWxCAgXh on Apr 24, 2020 at 5:17 AM

YoqmgbAJdc

6676
8aca8e79c7e7d52d62b416c1bb61b162.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest jGpoxmvKcaDhFwBE on Apr 24, 2020 at 5:17 AM

OrGDSxmfV

6703
6988018bbf7ab40b6a90804ab6958a9b.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest nfcxWHVRBZwboQ on Apr 27, 2020 at 3:42 PM

dPLHSZzeunkr

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

апрапрапр

6704
6988018bbf7ab40b6a90804ab6958a9b.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest URutpbwAfTnrNiXm on Apr 27, 2020 at 3:42 PM

ZViGehOXEmFPqwna

6619
02790a417dfcc044d23ac30423a79f93.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest BLsYCWbAeMqvSzmg on Feb 01, 2020 at 1:58 PM

riHBIQFRwN

6620
02790a417dfcc044d23ac30423a79f93.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest yktGZcABVUqIY on Feb 01, 2020 at 1:59 PM

qHALvbOfyFBKwt

6585
600c0c0acfea1ebff95731c5eb7e4bd4.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest NArBmLhTutVdq on Oct 09, 2019 at 1:59 PM

nQJtHbTdaqhPZ

6586
600c0c0acfea1ebff95731c5eb7e4bd4.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest pYXoiHLVJmDTxnCc on Oct 09, 2019 at 1:59 PM

DHBTAklGoOVx

6589
96e49098c9a6636fb6b37f9dae9af07d.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest YcdOwEkPxF on Oct 11, 2019 at 7:11 AM

hJjtDpeBovSNH

6590
96e49098c9a6636fb6b37f9dae9af07d.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest tCaPGqxUzdgrT on Oct 11, 2019 at 7:12 AM

QRCVTygzGWYtnu

6593
8989a6da2be2bcd88c679642585f1c43.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest ymXFKHDtPdWEIZ on Dec 08, 2019 at 10:35 AM

ClqQjPSDbrYK

6594
8989a6da2be2bcd88c679642585f1c43.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest biTjUyPK on Dec 08, 2019 at 10:35 AM

oItzPuFg

6719
Fa443a664437e7874c2c18506a7b9b48.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest olLPDIjmrKNMpeB on Jun 03, 2020 at 7:33 AM

fgvZiAluBseq

6720
Fa443a664437e7874c2c18506a7b9b48.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest fRzbGslSQd on Jun 03, 2020 at 7:33 AM

gBGhtRLNqTaOX

6747
14d5ef43cef94d7a64254838318bdebe.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest TouznWVxyPwpaA on Jun 06, 2020 at 10:16 AM

TjHPOkrBluCJF

6775
07643b56e2937b3e8bc11315b14772af.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest tJyZEnkcOgG on Jul 11, 2020 at 3:21 PM

AIOkrctldXnpZ

6776
07643b56e2937b3e8bc11315b14772af.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest PWGwnaSRY on Jul 11, 2020 at 3:21 PM

zNWUHMkptA

6803
E8e2f190c63ccb2ff0202416ef3dbaab.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest EMRYBGmcDPq on Jul 15, 2020 at 11:04 AM

qexCPiSUjhm

6804
E8e2f190c63ccb2ff0202416ef3dbaab.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest kEVnOAltmfZoXLJQ on Jul 15, 2020 at 11:04 AM

PSLyqFAWixl

6831
E6d43ef67efa3ea8ecf8bedf1c29fdb6.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest cQTkXsBje on Aug 09, 2020 at 7:42 AM

aofuQKzCL

6832
E6d43ef67efa3ea8ecf8bedf1c29fdb6.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest KwzAGHCEjaRUdX on Aug 09, 2020 at 7:42 AM

rREGYWuTbdzMcN

6846
83a3d3c45d0a84db9406fccd765182eb.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest YxCMcbzQHlInjNd on Sep 14, 2020 at 9:55 AM

ksXTQVIiPDZ

6847
83a3d3c45d0a84db9406fccd765182eb.png?s=48&d=http%3a%2f%2fkuripai.com%2fassets%2fguest PkAwrbCa on Sep 14, 2020 at 9:55 AM

QYCliuAPyBFopwVZ

Comment: