LoginSignup
58
45

More than 5 years have passed since last update.

Macのスクリーンショットの保存先と名前を変更する

Posted at

Macではキーボードショートカットでスクリーンショットが取れますが、
そのスクリーンショットは、デフォルトだとデスクトップに保存されます。

また、保存される際のファイル名は「スクリーンショット 2016-11-06 10.25.29」という感じで長いので変えたいなーと思ってしまいました。

これがターミナル上のコマンドで変更できるということでやってみました。

保存先を変更する

任意の場所に変更する

$ defaults write com.apple.screencapture location ~/ScreenShot/
$ killall SystemUIServer

デスクトップに戻す

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

ファイル名を変更する

スクリーンショットの個所を消す場合

$ defaults write com.apple.screencapture name ""
$ killall SystemUIServer

スクリーンショットの個所を他の名前に変更する場合

$ defaults write com.apple.screencapture name "ScreenShot"
$ killall SystemUIServer

ファイル名から日付を消す場合

$ defaults write com.apple.screencapture include-date -bool false
$ killall SystemUIServer

ファイル名に日付をつける場合

$ defaults delete com.apple.screencapture include-date
$ killall SystemUIServer

まとめ

私は、日付をつけておかないといつキャプチャしたのかわからなくなるので、
ファイル名は日付だけにしました。
デフォルトの スクリーンショット は全く不要なので消してスッキリしました。

58
45
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
58
45