[Mac OS] Screenshot folder change command

Writing time : 2017-08-10 22:21:17

Screenshot folder change command

Change screenshot folder

To change the screenshot folder, you can use the following two commands in the terminal.

$ defaults write com.apple.screencapture location 저장폴더  
$ killall SystemUIServer  

In the command, you can specify the path of the folder where the screenshot will be saved in the "Save folder" location.

Command sample

Entering the following command changes the screenshot storage folder to "/Users/imdev/Dropbox/mac_screenshot".

$ defaults write com.apple.screencapture location /Users/imdev/Dropbox/mac_screenshot  
$ killall SystemUIServer  

If it is difficult to type the folder path, enter only "defaults write com.apple.screencapture location", find the storage folder in Finder, and drag & drop it to the terminal.

Change screenshot folder Drag and Drop image

Checking the screenshot

Let's check the changed screenshot.

$ defaults read com.apple.screencapture location  

default command

The default command used in the terminal is a command to read or change the configuration of an application.

Read after defaults reads the application configuration and write writes the configuration.
And com.apple.screencapture location means the location setting of the com.apple.screencapture application.

For reference, you can read all the settings of the com.apple.screencapture application with the command below.

$defaults read com.apple.screencapture  
location = "/Users/imdev/Documents/screencapture";  

Reference URL




Previous post

Next post