tpost.sh: run curl in silent mode - ags-upload - Insert AGS files to a database
(HTM) git clone git://src.adamsgaard.dk/ags-upload
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 6949fac8034abbbff9156c7e92f9fc9c092448de
(DIR) parent b989db1ba48edb13663f924329b895434d18df80
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 8 Oct 2025 14:16:46 +0200
post.sh: run curl in silent mode
Diffstat:
M cmd/post.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/cmd/post.sh b/cmd/post.sh
t@@ -1,5 +1,5 @@
#!/bin/sh
for f in ../input/*.ags ../input/*.AGS
do
- curl -X POST http://localhost:8080/ingest/ags -F "file=@$f"
+ curl -s -X POST http://localhost:8080/ingest/ags -F "file=@$f"
done