Guide Updated Reviewed for 1.1.11 · 3 min read

Rename many files at once

Select several items and press Return: find and replace, add text, number or change the case of every name, with a preview before anything changes.

Shortcut ↩
On this page 5 sections

What you’ll accomplish

  • Rename a whole selection with one rule
  • See every new name, and any conflict, before applying it
  • Undo the whole batch in one step

The batch rename sheet applies one rule to every selected name and shows the result before you commit. Use it for camera exports, inconsistent names or numbered sequences.

Rename a selection

  1. Select the items

    Select two or more items in one folder.

  2. Open the sheet

    Press ↩, or Control-click the selection and click Rename in the row at the top of the menu. With one item selected you rename it in place instead: see Rename a file or folder.

    Result: The Rename N Items sheet opens.
  3. Choose a mode and set it up

    Pick Find & Replace, Add Text, Numbering or Case, then fill in its fields. The Preview list updates as you type.

  4. Click Rename

    Rename is available once at least one name would change and there is no conflict.

    Result: Every name changes, and the sheet closes.
The Rename sheet for eight photos, with the mode, the settings and a preview of the new namesThe Rename sheet for eight photos, with the mode, the settings and a preview of the new names

The four modes

ModeFieldsWhat it does
Find & ReplaceFind, ReplaceReplaces every occurrence of the text in the whole name, extension included. Upper and lower case must match.
Add TextText, PositionAdds the text Before name or After name.
NumberingName, Start at, Digits, PositionAdds a number, with a space, before or after the name. Leave Name empty to keep each original name, or type one to give every item the same name with its own number. Digits pads the number with zeros, from 1 to 6 digits.
Caselowercase, UPPERCASE, Title Case, CapitalizeChanges the letter case. Capitalize makes only the first letter a capital.
The Rename sheet numbering eight photos as Holiday 01 to Holiday 08The Rename sheet numbering eight photos as Holiday 01 to Holiday 08

Add Text, Numbering and Case change the name and leave the extension as it is: “IMG_01.jpg” with “Holiday” as Name and 2 Digits becomes “Holiday 01.jpg”.

Conflicts

A new name shows in red, with a count at the bottom of the sheet, when:

  • two items would get the same name,
  • another item in the folder already has that name,
  • the name is empty or contains ”/”.
The Rename sheet with Replace Text, where a new name is already taken and the sheet says soThe Rename sheet with Replace Text, where a new name is already taken and the sheet says so

Names that differ only in upper and lower case count as the same on disks that don’t tell them apart, which is how most Mac disks work. Fix the rule until no conflict is left.

Undo the batch

The whole batch is one step: press ⌘Z once to give every item its old name back. The batch is also listed in Activity. See Undo and Activity.

If something goes wrong

If one rename fails while applying, for example on a locked file, DockDuck stops there and says which file and why. When some items were already renamed, choose Revert to give them their old names back, or Keep Renamed to leave them.

Still stuck? Write to us with what you tried. We read every message.