10 lines
174 B
Plaintext
10 lines
174 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
id="$TUS_ID"
|
||
|
offset="$TUS_OFFSET"
|
||
|
size="$TUS_SIZE"
|
||
|
progress=$((100 * $offset/$size))
|
||
|
|
||
|
echo "Upload created with ID ${id} and size ${size}"
|
||
|
cat /dev/stdin | jq .
|