diff --git a/pages.zh/osx/pbcopy.md b/pages.zh/osx/pbcopy.md new file mode 100644 index 000000000..6d31bd88f --- /dev/null +++ b/pages.zh/osx/pbcopy.md @@ -0,0 +1,11 @@ +# pbcopy + +> 将标准输出放入剪贴板(命令行里的 cmd + C). + +- 将文件的内容放入剪贴板: + +`pbcopy < {{文件}}` + +- 将命令的执行结果放入剪贴板: + +`find . -type t -name "*.png" | pbcopy`