mac 上关于截图的偏好设置
文章目录
mac 上关于截图的偏好设置
改变存储的截图类型
defaults write com.apple.screencapture type jpg(文件类型)
取消日期
defaults write com.apple.screencapture "include-date" 0
设置截图名字
defaults write com.apple.screencapture name screen(要保存的文件的名字)
效果
- screen.png
- screen (2).png
- screen(3).png
随机截图名字
作用
每分钟给随机三个字母用来当作文件名
步骤
- 在终端中输入crontab -e
- 按 a
- 粘贴代码
* * * * * /usr/bin/openssl rand -base64 3 | xargs defaults write com.apple.screencapture name
- 按esc
- 输入 :wq 用来保存退出
最后一步
killall SystemUIServer
参考
知乎
博客
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论