All articles

How to Copy a File and Rename It in One Step on a Mac

· 4 min read

You want "Contract template.docx" in the client's folder as "Contract ACME.docx". In the Finder that takes three steps: copy, paste, then rename the copy. If the folder already holds a file with that name, the Finder first asks whether to replace it or keep both, and keeping both gives you "Contract template 2.docx" to rename.

There is no "paste as" in the Finder. Folia Files 1.4, a file manager for the Mac, has one: Edit › Paste with a New Name… (⇧⌘V). It asks for the name before the file lands, works for moves as well as copies, and is undone with ⌘Z like everything else.

The Finder way: copy, paste, rename

For the record, here is the usual route in the Finder:

  1. Select the file and press ⌘C.
  2. Open the destination folder and press ⌘V.
  3. With the copy selected, press Return, type the new name and press Return again.

In the same folder, Duplicate (⌘D) saves step 2 but names the copy "… copy", which you rename anyway. It works; it's just three steps where one would do.

How to paste a file with a new name

  1. Select the file in Folia Files and press ⌘C to copy it, or ⌘X to move it.
  2. Go to the destination: another folder, another pane or tab, or the same folder for a renamed duplicate.
  3. Choose Edit › Paste with a New Name… or press ⇧⌘V.
  4. Type the name in the sheet ("Paste … as:") and press Return.

A few details make it quicker:

  • The field starts with a free name: the file's own name, or the same with "2" when the folder already has one, so you only change what you need.
  • The extension takes care of itself: type "Contract ACME" and the file keeps its ".docx".
  • Several files are asked one after the other ("Name of … (2 of 3)"). A name already used in the folder, or already given to another file of the same paste, is refused with the reason, so nothing is overwritten.
  • A cut moves and renames in one go: after ⌘X, the file leaves its folder under its new name.
  • Undo: ⌘Z puts a pasted copy in the Trash, or moves a moved file back under its old name.

If the destination folder is read-only, nothing is pasted, and the pane says so.

When it saves the most time

  • Templates: copy a template once, then paste it with a new name into each project folder.
  • Versions: ⌘C, then ⇧⌘V in the same folder gives "Report v2.pdf" next to "Report.pdf", the original untouched.
  • Downloads: cut "IMG_20261116_1432.jpg" from Downloads and paste it into the project as "Site photo – entrance.jpg", moved and named at once.

Where a paste goes when a folder is selected

In the Finder, ⌘V always pastes into the folder whose window you're in, even if a folder inside it is selected. Folia Files 1.4 reads the selection:

  • One folder selected: the paste goes into it.
  • Several folders selected: Folia asks "Where to paste?": into one of them, or here in the folder shown. A plain copy with ⌘V can also go into each of the chosen folders at once.
  • Nothing or only files selected: into the folder shown, as in the Finder.

The same rule applies to ⌘V, ⌥⌘V and Paste with a New Name: select the destination folder, paste, and the files land inside it.

Copy, cut and move: every shortcut

  • ⌘C then ⌘V: copy.
  • ⌘X then ⌘V: move. The Finder doesn't cut files; Folia does, and dims what you cut until it's pasted.
  • ⌘C then ⌥⌘V: Move Item Here, the Finder's way to move, which works in Folia too.
  • ⇧⌘V: Paste with a New Name…
  • ⌘D: Duplicate, in the same folder.

All of them show in Operations while they run and in its history afterwards, where each one can be undone.

F5 and F6: copy or move to the other pane

When you sort files between two folders, pasting is already one step too many. Folia Files can show folders side by side in one window, and two keys send the selection across:

  1. Open the two folders in two panes (drag New Pane from the toolbar to the side of the window, or press ⌘\ to clone the current pane next to it).
  2. Select files in one pane.
  3. Press F5 to copy them into the other pane's folder, or F6 to move them.

Several panes side by side in one window: F5 and F6 send the selection to the other one

The File menu names the destination before you press anything: "Copy to “Invoices”", "Move to “Invoices”". With three panes or more, the files go to the pane you used just before, and that pane briefly shows where they came from ("Copy from …"). If the files are already in that folder, nothing happens and the pane says so; use ⌘D to duplicate. F5 and F6 also work from search results and from the flat view of a folder.

On a Mac laptop or an Apple keyboard, the top row controls brightness, sound and the like. Press fn with F5, or turn on Use F1, F2, etc. keys as standard function keys in System Settings › Keyboard › Keyboard Shortcuts… › Function Keys. You can also give these commands other keys in Folia's Settings › Shortcuts › Menu Shortcuts.

More keyboard tricks for files are in this list of shortcuts to copy, move and rename, and panes are described on the panes page.