Creating a custom right click context menu that runs script on selected file?

0

So basically I want to be able to right click on a video file, and have a custom command in the context menu that inserts the name of the file into the following code then runs it.

curl https://api.streamable.com/upload -u username:password -F file=@rightclickedfile.mp4

So basically if I had a file named coolstuff.mp4, I could right click it and select "upload to streamable" for example and it'd run the previous command but insert the coolstuff.mp4 into the -F file argument.

Any ideas on how to pull this off?

Ryan

Posted 2019-11-30T06:18:57.513

Reputation: 56

No answers