Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个 Mac 的脚本或程序,在运行时会清除剪贴板以及 Finder 在 Go 菜单中的“最近的文件夹”列表?
在终端中运行此命令:
$ printf '' | pbcopy
将通过将其内容设置为空字符串来清除剪贴板。
要清除 Finder 的最近文件夹列表,此终端命令似乎有效:
$ defaults write com.apple.Finder FXRecentFolders {} ;killall Finder