This website requires JavaScript.
Explore
Help
Sign In
LumeWeb
/
tusd
Watch
1
Star
0
Fork
You've already forked tusd
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
93187d760c
tusd
/
examples
/
hooks
/
post-finish
5 lines
82 B
Plaintext
Raw
Normal View
History
Unescape
Escape
docker: Enable the sample hook files to execute without error (#256) - Include jq package in the Dockerfile for parsing JSON - Use sh instead of bash which is not available in Alpine Linux
2019-03-30 17:16:53 +00:00
#!/bin/sh
Add postfinish hook
2016-02-22 11:53:15 +00:00
Pass info object as JSON blob to hook
2016-02-22 12:59:28 +00:00
echo "Upload $TUS_ID ($TUS_SIZE bytes) finished"
cat /dev/stdin | jq .