Table of Contents
Question
I have selected some text and images in Microsoft Word for Mac. I like to copy it to the clipboard, then save the raw content of the clipboard into a file. How can I create a raw clipboard dump to a file on macOS so that I can investigate it on the Windows later?
Solution 1: Show Clipboard
Step 1: Open the Finder.
Step 2: Go to Edit menu.
Step 3: Select the Show Clipboard option.
Solution 2: New from Clipboard
Step 1: Open the Preview.
Step 2: Go to the File menu.
Step 3: Select the New from Clipboard option.
Solution 3: Terminal command
Step 1: Open the Terminal app.
Step 2: Enter the following command to export the clipboard content:
pbpaste > path/clipboardtext.txt