更改Leopard截图的保存位置和图片格式
不多说了,直达主题吧,更改Leopard截图的保存位置和图片格式,只需要两句命令:
首先是更改Leopard截图的保存位置:
- defaults write com.apple.screencapture location
defaults write com.apple.screencapture location
这里的location就是具体的位置,比方说我的 /Users/Zed/Desktop/ScreenShots 则就是
- mkdir /Users/Zed/Desktop/ScreenShots
- defaults write com.apple.screencapture location /Users/Zed/Desktop/ScreenShots
mkdir /Users/Zed/Desktop/ScreenShots defaults write com.apple.screencapture location /Users/Zed/Desktop/ScreenShots
而更改Leopard截图的默认格式则是:
- defaults write com.apple.screencapture type
defaults write com.apple.screencapture type
只支持 png gif jpg 和 pdf,比方说我改成默认是jpg的话就是:
- defaults write com.apple.screencapture type jpg
defaults write com.apple.screencapture type jpg
当然这一切的一切,都要在console里面进行~

近期评论