You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
945 B
20 lines
945 B
|
3 years ago
|
## 技巧1
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
#### 通过命令的方式指定系统截图后所存放的位置设置
|
||
|
|
|
||
|
|
您可以使用以下步骤将截图保存到指定的文件夹中:
|
||
|
|
|
||
|
|
1. 打开“终端”应用程序。
|
||
|
|
2. 输入以下命令并按回车键:`defaults write com.apple.screencapture location /path/to/folder`
|
||
|
|
3. 将命令中的`/path/to/folder`替换为您想要保存截图的文件夹的路径。
|
||
|
|
4. 输入以下命令并按回车键:`killall SystemUIServer`
|
||
|
|
5. 这将重启“SystemUIServer”进程,使更改生效。
|
||
|
|
6. 现在,您可以使用常规的截图快捷键(例如`Command + Shift + 3`)来进行截图,它们将自动保存到您指定的文件夹中。
|
||
|
|
|
||
|
|
请注意,如果您想要将截图保存为特定格式(例如PNG或JPEG),您可以使用以下命令来更改默认格式:
|
||
|
|
|
||
|
|
`defaults write com.apple.screencapture type [format]`
|
||
|
|
|
||
|
|
将`[format]`替换为您想要使用的格式,例如“png”或“jpg”。
|