保存先を変更する
以下のコマンドを実行するとスクリーンショットの保存先を変更できます。
defaults write com.apple.screencapture location 保存先パス
次の場合には~/Downloads/
に変更されます。
defaults write com.apple.screencapture location ~/Downloads/
保存先を確認する
現在の保存先を確認するには以下のコマンドを実行します。
defaults read com.apple.screencapture location
$ defaults read com.apple.screencapture location
~/Downloads/
JPEGに変更
以下のコマンドを実行するとスクリーンショットのファイル形式をJPEG
に変更できます。
defaults write com.apple.screencapture "type" -string "jpg"
PNGに変更
以下のコマンドを実行するとPNG
に変更できます。
defaults write com.apple.screencapture "type" -string "png"
無効にする方法
以下のコマンドを実行するとウィンドウのスクリーンショットを撮影した際のドロップシャドウが削除されます。
defaults write com.apple.screencapture disable-shadow -bool true && killall SystemUIServer
実行前
実行後
元に戻す方法
ドロップシャドウを元に戻すには以下のコマンドを実行します。
defaults write com.apple.screencapture disable-shadow -bool false && killall SystemUIServer