Skip to main content

Flameshot

Using flameshot on Linux or macOS you can pipe raw image data to a file and upload it using cURL. Use the upload.sh from here. The script below saves the raw image to a file with the date.

ss.sh
# create DATE variable for the below commandsDATE=$(date '+%h_%Y_%d_%I_%m_%S.png');# open flameshot gui and returns raw image with the -r flag then saved to ~/pictures/$DATEflameshot gui -r > ~/pictures/$DATE;# uses the upload.sh from the the cURL example script./upload.sh ~/pictures/$DATE;