30
27
I have never done this before and I am creating a bash shell script to do this for me. I will also be connecting via ssh to do some things (which I already know how to do). So maybe there is a way to upload files via ssh so I can do it all in one connection?
How can I do this?
#!/bin/sh
cd ./files-to-upload
#upload the files
That does not answer this question, but maybe this could help some people: https://curl.io/ permits you to upload a file through bash to a public http hosting (valid for few hours i think)
– Vincent Fenet – 2015-11-19T13:58:43.647