Merge pull request #79 from unixorn/add-pbclean
Add snippet to convert Clipboard to plain text
This commit is contained in:
commit
9d2682422f
@ -992,6 +992,11 @@ uptime
|
|||||||
cat whatever.txt | pbcopy
|
cat whatever.txt | pbcopy
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Convert Clipboard to Plain Text
|
||||||
|
```bash
|
||||||
|
pbpaste | textutil -convert txt -stdin -stdout -encoding 30 | pbcopy
|
||||||
|
```
|
||||||
|
|
||||||
#### Convert Tabs to Spaces for Clipboard Content
|
#### Convert Tabs to Spaces for Clipboard Content
|
||||||
```bash
|
```bash
|
||||||
pbpaste | expand | pbcopy
|
pbpaste | expand | pbcopy
|
||||||
|
Loading…
Reference in New Issue
Block a user