Unable to save pbcopy to a new file without opening a text-editor

113 views Asked by At

I tried the following code unsuccessfully

cat pbcopy >> newFile

How can you save your clipboard to the file newFile without opening a text-editor?

1

There are 1 answers

1
Craig S On BEST ANSWER

Try: pbpaste >newFile