Change Screenshot Location in macOS Terminal
Yes, you can change the default screenshot save location via Terminal in macOS 13 Ventura. By default, macOS saves all screen captures directly to your Desktop, which can quickly lead to clutter. Using a simple command-line instruction, you can redirect all future captures to any dedicated folder of your choice, and easily revert the setting whenever necessary.
How to Change the Screenshot Location
Create or choose a destination folder:
Decide where you want your screenshots to be saved. For example, you can create a folder namedScreenshotsinside yourPicturesfolder.Open Terminal:
PressCommand + Spaceto launch Spotlight, typeTerminal, and pressReturn.Set the new path:
Type the following command, but do not press Return yet:defaults write com.apple.screencapture locationAdd a space after
location, then drag and drop your target folder from Finder into the Terminal window to automatically insert its full file path.For example, if your folder is
~/Pictures/Screenshots, the command will look like this:defaults write com.apple.screencapture location ~/Pictures/ScreenshotsPress
Returnto execute the command.Apply the changes:
To force macOS to load the new preference immediately, restart the SystemUIServer process by running:killall SystemUIServer
Any screenshot taken with shortcuts like
Command + Shift + 3 or Command + Shift + 4
will now automatically save to the designated folder.
How to Revert to the Default Location
If you ever want to reset the save location back to the Desktop, run the following command in Terminal:
defaults delete com.apple.screencapture locationFollow it with the restart command:
killall SystemUIServerYour screenshots will once again appear directly on your Desktop.