diff --git a/pages.th/osx/pbcopy.md b/pages.th/osx/pbcopy.md new file mode 100644 index 0000000000..946d43baa1 --- /dev/null +++ b/pages.th/osx/pbcopy.md @@ -0,0 +1,13 @@ +# pbcopy + +> คัดลอกข้อมูลจากอินพุตมาตรฐาน (`stdin`) ไปยังคลิปบอร์ด. +> เทียบได้กับการกดปุ่ม Cmd + C บนแป้นพิมพ์. +> ข้อมูลเพิ่มเติม: . + +- คัดลอกเนื้อหาในไฟล์ที่กำหนดไปยังคลิปบอร์ด: + +`pbcopy < {{ทาง/ไป/ไฟล์}}` + +- คัดลอกผลลัพธ์ของคำสั่งไปยังคลิปบอร์ด: + +`find . -type t -name "*.png" | pbcopy` diff --git a/pages.th/osx/pbpaste.md b/pages.th/osx/pbpaste.md new file mode 100644 index 0000000000..5c88cd14f9 --- /dev/null +++ b/pages.th/osx/pbpaste.md @@ -0,0 +1,13 @@ +# pbpaste + +> ส่งเนื้อหาของคลิปบอร์ดไปยังผลผลิตมาตรฐาน (`stdout`). +> เทียบได้กับการกดปุ่ม Cmd + V บนแป้นพิมพ์. +> ข้อมูลเพิ่มเติม: . + +- เขียนเนื้อหาของคลิปบอร์ดไปยังไฟล์: + +`pbpaste > {{ทาง/ไป/ไฟล์}}` + +- นำเนื้อหาในคลิปบอร์ดไปใช้เป็นอินพุตของคำสั่ง: + +`pbpaste | grep foo` diff --git a/pages/osx/pbcopy.md b/pages/osx/pbcopy.md index bcae97b5fb..102a24a7c5 100644 --- a/pages/osx/pbcopy.md +++ b/pages/osx/pbcopy.md @@ -1,6 +1,7 @@ # pbcopy > Copy data from `stdin` to the clipboard. +> Comparable to pressing Cmd + C on the keyboard. > More information: . - Place the contents of a specific file in the clipboard: diff --git a/pages/osx/pbpaste.md b/pages/osx/pbpaste.md index e108995494..af40f93508 100644 --- a/pages/osx/pbpaste.md +++ b/pages/osx/pbpaste.md @@ -1,6 +1,7 @@ # pbpaste > Send the contents of the clipboard to standard output. +> Comparable to pressing Cmd + V on the keyboard. > More information: . - Write the contents of the clipboard to a file: