diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/workers/bin/_findPDFs.sh	Wed Oct 10 11:28:21 2018 +0000
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "# $(date) > $ID.$1"
+fgrep msgtype=response|egrep '"Headers":{[^{]*"Content-Type":"application/pdf"' | jq .
+echo "# $(date) < $ID.$1"