How to paste the same file three different ways
One file, three pastes, three different outcomes. Copy a document in Finder and paste it into another folder and you get a copy of the file. Copy that same document’s path and paste it into a terminal and you get a line of text. Open it and copy the words inside, then paste, and you get the contents. Same file, three results, and each one is correct for where it lands. Once you can see those three forms clearly, a lot of small Mac frustrations stop happening.
The same file, several forms
A file on your Mac is not a single fixed thing when it comes to copying. It can be handed to another app in several forms, and the form decides what shows up after you paste.
There is the file itself, the actual document that lives in a folder. There is its path, the text address that says where it lives. And there are its contents, the words or pixels stored inside it. All three come from one file. They just describe different things about it: the object, its location, and what is in it.
The reason this matters is that different apps can only accept some of these forms. A folder wants the file. A terminal wants text. A plain text editor wants the words. When a paste surprises you, it is nearly always because the app took a different form than the one you had in mind.
Way one: paste the file itself
This is the plainest form. In Finder, select a file and press Command-C, then open another folder and press Command-V. You get a copy of the file in the new place. Drag the file from one Finder window to another and you move or copy the object itself the same way.
This is the form you want when the destination is a place that stores files: a folder, a Desktop, an upload box on a web page, or a chat window that accepts attachments. Drag a file into a chat such as Slack and it uploads the file, because a chat treats the file as something to attach and send.
The thing to notice is that you are moving the whole object, name and contents and all. Nothing is being read or converted. The file simply lands somewhere new.
Way two: paste the path as text
Sometimes you do not want the file, you want to tell an app where the file is. That is the path, and it is plain text.
In Finder, right-click the file, hold the Option key, and Copy turns into Copy as Pathname. Now your clipboard holds a line like /Users/sam/Documents/report.pdf. Paste that into a terminal, a config file, or a text field and you get the address as characters, not the document.
This is the form a command line needs. A terminal works in text, so to point a command at a file you give it the file’s path. Dragging the file into the terminal window does the same thing, filling in the path for you with any spaces handled correctly.
The path is not the file and it is not the file’s contents. It is only the directions to reach it, and that is exactly what some tools ask for.
Way three: paste the contents
The third form is what is actually inside the file. Open a text document, select the words, press Command-C, and paste them into an email or a note. Now the words themselves appear, with no file and no path involved.
This is the form you want when the destination cares about the material, not the container. A text field, a message body, or a note takes the contents and shows them inline. For a picture file, the equivalent is pasting the image so it appears in place rather than as an attachment.
The catch is that a rich editor may keep the original formatting, fonts and colours and all. If you only wanted the plain words, use Paste and Match Style so the text takes on the style of where it lands.
Doing it without deciding every time
Here is the awkward part. To pick the right form by hand, you have to know where the file is going before you copy it, then choose the matching move: copy the file, copy the pathname, or copy the contents. Guess wrong and you paste, delete, and try again.
Ledge removes that decision. It turns the notch at the top of the screen into a shelf. Drag a file up to it and let go, and it waits there. When you drop it somewhere, Ledge hands over the form that place can use. Drop it on Finder and the file moves. Drop it on a terminal and it becomes the path as text. Drop it on a text field and it arrives as plain text. Drop it on a chat window such as Slack and the file uploads.
You throw the same file at the shelf once, and each destination receives the version it wants. The three forms are still there underneath. You just stop having to name them in advance, which is the part that used to cost a few seconds and a bit of attention every single time.