截图篇
command + c:复制
command + v:粘贴
command + option + v:粘贴时源文件不保留,所以等价于move
shift + command + 3:全屏截图
shift + command + 4:局部可选截图
shift + command +4:画框的过程中,摁住control,截图不会落盘,进入剪切板中,更加干净简洁。
shift + command +5:功能更强大,支持录屏,延迟录屏(截图)等更多功能,还能深入使用过。
截图默认保存位置更改(默认是桌面):
$ defaults write com.apple.screencapture location /Users/xxx/Documents/xxx
截图默认名称修改(默认是“屏幕截图 日期时间”):
$ defaults write com.apple.screencapture name 你可真帅
截图格式(默认是png,但也支持很多其他格式):
$defaults write com.apple.screencapture type jpg
命令行截图(不太直接,用的少):
$screencapture [options] [file]
截屏保存为gif文件:
mac原生截屏不支持该功能,可以先录屏,再利用第三方软件将视频转成gif格式的动图。mac上比较常用的有GIPHY(它本身就支持从录屏到生成gif的整套流程,所以不需要再额外录屏)