Merge pull request #79 from unixorn/add-pbclean

Add snippet to convert Clipboard to plain text
This commit is contained in:
Marcel Bischoff 2015-11-05 09:55:34 +01:00
commit 9d2682422f

View File

@ -992,6 +992,11 @@ uptime
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
```bash
pbpaste | expand | pbcopy