Skip to main content


Using flameshot on Linux or macOS you can pipe raw image data to a file and upload it using cURL. Use the from here. The script below saves the raw image to a file with the date.
# 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 from the the cURL example script./ ~/pictures/$DATE;