Bash script to upload screenshots created with the screencloud.net client to an s3 bucket.
This script is specific to my configuration (s3 bucket with static website hosting and cloudflare with https enabled)
If you don't have static website hosting or you aren't using something like cloudflare to get https you may need to modify this script to make it work with your configuration.
- Download the s3-upload.sh script, place it in a folder and give it permission to execute (chmod +x s3-upload.sh)
- Install and setup the aws-cli: https://aws.amazon.com/cli/
- Open screencloud
- Click on Preferences
- Open the Online Services tab
- Click on More services
- Enable the shell script extension
- Edit the settings
- Set the command to: PATH_TO_SHELL_SCRIPT {s} NAME_OF_THE_S3_BUCKET DATE_FORMAT (for example: %d-%m-%Y.%H:%M:%S) and enable the option to copy the command output to the clipboard