#!/bin/bash source ./conf mkdir -p "$cachedir" sbot createUserStream --id "$userid" | json -g -c 'this.value.content.type == "post"' -c 'this.value.content.root == null' > "$cachedir/data"