diff --git a/bin/share b/bin/share
index 3385978..3928c02 100755
--- a/bin/share
+++ b/bin/share
@@ -3,4 +3,4 @@ set -euo pipefail
 
 . <(vault2env --key=secret/minio/knut-cc --export)
 
-exec ~/gocode/bin/share --bucket=knut-cc --file-template="file/{{ printf \"%.8s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress "$@"
+exec ~/gocode/bin/share --bucket=knut-cc --file-template="file/{{ printf \"%.10s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress "$@"
diff --git a/bin/shareperm b/bin/shareperm
index f913b6b..df85640 100755
--- a/bin/shareperm
+++ b/bin/shareperm
@@ -3,4 +3,4 @@ set -euo pipefail
 
 . <(vault2env --key=secret/minio/knut-cc --export)
 
-exec ~/gocode/bin/share --bucket=knut-cc --file-template="permanent/{{ printf \"%.8s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress "$@"
+exec ~/gocode/bin/share --bucket=knut-cc --file-template="permanent/{{ printf \"%.10s\" .Hash}}/{{ .SafeFileName }}" --base-url="https://knut.cc/#" --progress "$@"