修改MacOS系统截屏保存位置和图片后缀格式

修改MacOS系统截屏保存的位置,假如保存到个人的/Pictures目录下:

defaults write com.apple.screencapture location ~/Pictures

应用一下,可以不需要重启就生效:

killall SystemUIServer

修改MacOS系统截屏图片的后缀,后缀可以是PNG(默认格式)、JPG、GIF和TIFF:

defaults write com.apple.screencapture type jpg

应用一下,可以不需要重启就生效:

killall SystemUIServer