From 5406e19a0f26466e8293f23722a0f3ec4f3d1f22 Mon Sep 17 00:00:00 2001 From: Ivan Kozik Date: Fri, 12 Apr 2024 12:48:39 +0000 Subject: [PATCH] Add note --- sftp-into-eye | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sftp-into-eye b/sftp-into-eye index 28a7445..aea4764 100755 --- a/sftp-into-eye +++ b/sftp-into-eye @@ -42,6 +42,8 @@ while read i; do # If already in namedfiles i.e. the-eye, skip es x info -- "$i" | rg -q -F '"type": "namedfiles"' && continue || true + # This is mostly a demo which adds it to ceph over SFTP with `rclone`; + # ideally we instead have the `es x get -s -- "$i"` step putting it directly into ceph. ( es x get -s -- "$i" && \ rclone --metadata --inplace --size-only --progress copyto "$i" "$RCLONE_DEST:$eye_path" && \