File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ # pbcopy
2
+
3
+ > คัดลอกข้อมูลจากอินพุตมาตรฐาน (` stdin ` ) ไปยังคลิปบอร์ด.
4
+ > เทียบได้กับการกดปุ่ม Cmd + C บนแป้นพิมพ์.
5
+ > ข้อมูลเพิ่มเติม: < https://ss64.com/osx/pbcopy.html > .
6
+
7
+ - คัดลอกเนื้อหาในไฟล์ที่กำหนดไปยังคลิปบอร์ด:
8
+
9
+ ` pbcopy < {{ทาง/ไป/ไฟล์}} `
10
+
11
+ - คัดลอกผลลัพธ์ของคำสั่งไปยังคลิปบอร์ด:
12
+
13
+ ` find . -type t -name "*.png" | pbcopy `
Original file line number Diff line number Diff line change
1
+ # pbpaste
2
+
3
+ > ส่งเนื้อหาของคลิปบอร์ดไปยังผลผลิตมาตรฐาน (` stdout ` ).
4
+ > เทียบได้กับการกดปุ่ม Cmd + V บนแป้นพิมพ์.
5
+ > ข้อมูลเพิ่มเติม: < https://ss64.com/osx/pbpaste.html > .
6
+
7
+ - เขียนเนื้อหาของคลิปบอร์ดไปยังไฟล์:
8
+
9
+ ` pbpaste > {{ทาง/ไป/ไฟล์}} `
10
+
11
+ - นำเนื้อหาในคลิปบอร์ดไปใช้เป็นอินพุตของคำสั่ง:
12
+
13
+ ` pbpaste | grep foo `
Original file line number Diff line number Diff line change 1
1
# pbcopy
2
2
3
3
> Copy data from ` stdin ` to the clipboard.
4
+ > Comparable to pressing Cmd + C on the keyboard.
4
5
> More information: < https://ss64.com/osx/pbcopy.html > .
5
6
6
7
- Place the contents of a specific file in the clipboard:
Original file line number Diff line number Diff line change 1
1
# pbpaste
2
2
3
3
> Send the contents of the clipboard to standard output.
4
+ > Comparable to pressing Cmd + V on the keyboard.
4
5
> More information: < https://ss64.com/osx/pbpaste.html > .
5
6
6
7
- Write the contents of the clipboard to a file:
You can’t perform that action at this time.
0 commit comments