Unable to save pbcopy to a new file without opening a text-editor
-
11-07-2019 - |
Question
I tried the following code unsuccessfully
cat pbcopy >> newFile
How can you save your clipboard to the file newFile without opening a text-editor?
Solution
Try: pbpaste >newFile
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow