Terminal Hacks - Set Screenshot's Default File Name

LECTROHACK #7 Terminal Hacks: Set Screenshot's Default File Name artwork.

Change Default File Name

Open TerminalFinder > Applications > Utilities

In Terminal, type or paste the following whereby the name that a screenshot will be allocated is enclosed in the double quotes ""…

defaults write com.apple.screencapture name "Capture"

(return)

New screenshots will now adopt this new naming scheme. It will still include the date and time at the end to help distinguish between captures.


Revert Back to the Default File Name

Open TerminalFinder > Applications > Utilities

In Terminal, type or paste the following…

defaults delete com.apple.screencapture name; killall SystemUIServer

(return)

Originally posted 15 January, 2025.