[macOS] スクリーンショット出力場所変更する

1 min read
hiroweb developer

背景

デスクトップに「スクリーンショット」が散在し始めて辛いので、出力先を変えてまとめたい。

方法

反映

defaults write com.apple.screencapture location ~/Desktop/スクリーンショット

デスクトップに作成した「スクリーンショット」ディレクトリに出力をまとめたいので、~/Desktop/スクリーンショットとした。

上記の後に、下記を実行して設定を反映する。

killall SystemUIServer

元に戻す

defaults delete com.apple.screencapture location

上記を実行後、killall SystemUIServerで設定を反映すればデフォルトの設定に戻る。