aboutsummaryrefslogtreecommitdiff
path: root/tri-import-batch
diff options
context:
space:
mode:
Diffstat (limited to 'tri-import-batch')
-rwxr-xr-xtri-import-batch8
1 files changed, 8 insertions, 0 deletions
diff --git a/tri-import-batch b/tri-import-batch
new file mode 100755
index 0000000..ab4171c
--- /dev/null
+++ b/tri-import-batch
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+(
+echo "# DML"
+echo "# CONTEXT-DATABASE: tri"
+
+cat -
+) | influx -database tri -import -path /dev/stdin