diff options
-rw-r--r-- | _comments.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_comments.sh b/_comments.sh index 2dc6c85..3c29a1a 100644 --- a/_comments.sh +++ b/_comments.sh @@ -1,3 +1,3 @@ #!/bin/sh -#scp hetzner:/var/www/hatsu/hatsu.sqlite3 . +[[ "$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;' |