view workers/bin/_findPDFs.sh @ 12:be1034183e03

scan WAT files for application/pdf responses
author Henry S. Thompson <ht@markup.co.uk>
date Wed, 10 Oct 2018 11:28:21 +0000
parents
children bba589cab837
line wrap: on
line source

#!/bin/bash
echo "# $(date) > $ID.$1"
fgrep msgtype=response|egrep '"Headers":{[^{]*"Content-Type":"application/pdf"' | jq .
echo "# $(date) < $ID.$1"