Tell HN: Screenshots on macOS don't have to be date named files with spaces

5 points by cs1996 38 days ago 5 comments
Summary not yet generated for this article.

Original Text

Do you not like lots of files on your Desktop like Screenshot 2026-09-14 at 6.42.17 AM.png ?

mkdir ~/Screenshots

defaults write com.apple.screencapture location "$HOME/Screenshots"

killall SystemUIServer

https://gist.github.com/andrewarrow/1584ca32badeb19868dcc3bec657eaa9

https://gist.github.com/andrewarrow/3d61d1c8ecdd3a7e7401bbec481718ca

launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.aa.rename-screenshot.plist

And now I get:

~/Screenshots $ ls

basifacial_decidua.png

dehull_knopweed.png

erlking_walloping.png

Comments (5 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open