#!/bin/sh [[ "$1" = "-c" ]] && scp hetzner:/var/www/hatsu/hatsu.sqlite3 . sqlite3 -box hatsu.sqlite3 'SELECT id, in_reply_to_root FROM post where in_reply_to IS NOT NULL;'