#up2streamable
on raspberrypi or orangepi console
cd ~/bin/
wget https://github.com/m0a/up2streamable/releases/download/0.1/up2streamable
chmod +x up2streamable
OR
on PC
GOOS=linux GOARCH=arm go build github.com/m0a/up2streamable
scp up2streamable pi@192.168.XX.XX:~/bin/
up2streamable -path ~/.octoprint/timelapse -delete -u username -p password
Usage of up2streamable:
-delete
delete when upload success
-e string
specify file extension (default ".mpg")
-p string
password
-path string
search file path (default "./")
-timeout int
specify file upload timeout(minutes) (default 10)
-u string
username