From 059e06916de4383fa25c288ad73b3ea63ae3a30a Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Fri, 28 Feb 2025 16:13:33 +0100 Subject: Update comments script --- _comments.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_comments.sh') 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;' -- cgit v1.2.3