1.command+Shift+3和command+Shift+4 截屏后,默认保存路径在桌面,修改保存路径(这里是保存在桌面的Screenshots文件夹中):
终端输入:defaults write com.apple.screencapture location ~/Desktop/Screenshots
需要重新启动SystemUIServer生效:
killall SystemUIServer
2:改变截图的文件格式(默认.png)
保存:
defaults write com.apple.screencapture type jpg
同样,你需要重启SystemUIServer才能让命令生效
killall SystemUIServer