Location
Set default screenshot location.
- Tested on macOS:
- Sonoma
- Ventura
- Monterey
- Big Sur
- Catalina
- Mojave
- Parameter type: string
Set to ~/Desktop (default value)
bash
defaults write com.apple.screencapture "location" -string "~/Desktop" && killall SystemUIServerSet to ~/Pictures
bash
defaults write com.apple.screencapture "location" -string "~/Pictures" && killall SystemUIServerRead current value
bash
defaults read com.apple.screencapture "location"Reset to default value
bash
defaults delete com.apple.screencapture "location" && killall SystemUIServer