1
0
Fork 0
cfg/bin/shareperm
Knut Ahlers b759907b74
Increase number of hash characters
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2025-03-27 11:04:09 +01:00

6 lines
255 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
. <(vault2env --key=secret/minio/knut-cc --export)
exec ~/gocode/bin/share --bucket=knut-cc --file-template="permanent/{{ printf \"%.10s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress "$@"