A lightweight tool to upload MacOS screenshots to an S3-compatible provider.
Install with brew:
$ brew tap elnoro/tap
$ brew install foxyshot
Install from source:
$ git clone https://github.com/elnoro/foxyshot.git
$ cd foxyshot && make install
- Change the default MacOS screenshot location to a designated folder, e. g.
~/Desktop/Screenshots
- Run
foxyshot configure
(it creates a config file in ~/.config/foxyshot/config.json; see the format here). For S3 credentials, refer to your S3 provider.
$ brew services start foxyshot
$ brew services stop foxyshot
$ foxyshot start
The program starts in the background. To stop it, run:
$ foxyshot stop
If you decide to keep the original screenshot files (setting "removeOriginals" to false), on MacOS you will eventually run into a "too many open files" error.
At this point, either set a higher ulimit or remove the old files manually.
This is because of kqueue, see more technical details here.