diff options
author | uvok cheetah | 2025-02-28 16:13:33 +0100 |
---|---|---|
committer | uvok cheetah | 2025-02-28 16:13:33 +0100 |
commit | 059e06916de4383fa25c288ad73b3ea63ae3a30a (patch) | |
tree | 80729bf697f4f605397b1bb31cbdfc1abc7b84f6 /_comments.sh | |
parent | 1c6a1279d74994e6d7f6c014ef0598aeb707adf5 (diff) |
Update comments script
Diffstat (limited to '_comments.sh')
-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;' |