Rename Screenshot

2024

Rename and organize Mac screenshots by their contents with the help of AI. This tool watches for any new screenshots, renames it to describe its content, moves it to one of the pre-defined categorical directories.

The default Mac screenshot file names are not formatted well in my opinion. It does not sort nicely due to mixed use of single and double digits. The date string in the middle is not easy to read. And once you start collecting many, it becomes difficult and cumbersome to find what you need and organize them.

Below is a demo video showing how newly added screenshots are processed, renamed and moved to a user-defined folder:

The program watches any new screenshots added to your Desktop. When it detects one, it sends the image to your chosen API provider (either local Ollama or ChatGPT) to get a new filename suggestion. Once the response is received, the screenshot is renamed and moved to the pre-defined directory ~/Desktop/Screenshots. If there are categories set, it will be moved to a corresponding sub-directory. For example, any code screenshots can be saved to code directory. The original screenshot is kept as a backup, which you can later review and delete. It will continue to run in the background monitoring any new screenshots or you can just run it for existing images only.

The credit goes to Charlie Holtz for the original project and inspiration. It was such an interesting idea so I thought I’d make my own version. You can download Rename Screenshot on the Github repo. It only works as a CLI app at the moment.