# Set location

Set default screenshot location.

  • Tested on macOS:
    • Big Sur
    • Catalina
    • Mojave
  • Parameter type: string

# Set to ~/Desktop (default value)

defaults write com.apple.screencapture location -string ~/Desktop && killall SystemUIServer

# Set to ~/Pictures

defaults write com.apple.screencapture location -string ~/Pictures && killall SystemUIServer

# Read current value

defaults read com.apple.screencapture location

# Delete current value

defaults delete com.apple.screencapture location && killall SystemUIServer