#!/bin/bash ID=`ipfs add -r reports | tail -n1 | tr " " "\n" | head -n2 | tail -n1` echo $ID echo "[reports can be found on ipfs](https://gateway.ipfs.io/ipfs/$ID) \`/ipfs/$ID\`" > REPORTS.md