tusd/examples/hooks/post-create

9 lines
138 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
id="$TUS_ID"
offset="$TUS_OFFSET"
size="$TUS_SIZE"
echo "Upload created with ID ${id} and size ${size}"
cat /dev/stdin | jq .