From 8971806031e1661d24fa03e24ddc920c62d42c46 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 13 Aug 2018 11:45:00 +0200 Subject: [PATCH] Add teiler uploader scripts --- tools/misc/teiler/uploader/s3 | 9 +++++++++ tools/misc/teiler/uploader/scp | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 tools/misc/teiler/uploader/s3 create mode 100644 tools/misc/teiler/uploader/scp diff --git a/tools/misc/teiler/uploader/s3 b/tools/misc/teiler/uploader/s3 new file mode 100644 index 0000000..7f7a02b --- /dev/null +++ b/tools/misc/teiler/uploader/s3 @@ -0,0 +1,9 @@ +#!/bin/bash + +s3_bucket= +s3_path_img=path/to/images +s3_path_vid=path/to/videos +s3_path_paste=path/to/pastes +s3_http_img=http://S3_DOMAIN/path/to/images +s3_http_vid=http://S3_DOMAIN/path/to/videos +s3_http_paste=http://S3_DOMAIN/path/to/pastes diff --git a/tools/misc/teiler/uploader/scp b/tools/misc/teiler/uploader/scp new file mode 100644 index 0000000..c53584d --- /dev/null +++ b/tools/misc/teiler/uploader/scp @@ -0,0 +1,9 @@ +#!/bin/bash + +scp_host=HOSTNAME +scp_path_img=/path/to/images +scp_path_vid=/path/to/videos +scp_path_paste=/path/to/pastes +http_img=https://YOUR_DOMAIN/path/to/images +http_vid=https://YOUR_DOMAIN/path/to/videos +http_paste=https://YOUR_DOMAIN/path/to/pastes