Batch renaming is useful when several files need the same change. It is less useful when each filename needs a different date or meaning. Test a short, predictable set before you point a rename command at hundreds of items.

Prepare three disposable files

Download the rename mapping CSV. In a practice folder, create three plain-text files named IMG_001.txt, IMG_002.txt, and IMG_003.txt. Put a different short sentence inside each one. These are teaching text files, not photographs.

Copy the entire folder to rename-test. Keep the first folder untouched. The mapping records IMG_001.txt → workshop-001.txt and the corresponding changes for 002 and 003. Confirm no target names already exist.

Use Finder’s Replace Text option

On macOS Tahoe 26, select just the three copies in Finder. Control-click the selection and choose Rename. Choose Replace Text, enter IMG_ as the text to find, and workshop- as its replacement. Inspect the preview before confirming.

Finder also offers Add Text and Format. Format can generate a numbered sequence, but the numbering order needs inspection. This example uses Replace Text so each original number remains identifiable. Keep the .txt extension unchanged.

Check the mapping, not just the count

Open the renamed files and match each distinctive sentence to its original. Mark each CSV row checked only after both name and content correspond. A total of three files does not prove that 001 and 003 were not confused.

Before After Expected content identity
IMG_001.txt workshop-001.txt Sentence originally in 001
IMG_002.txt workshop-002.txt Sentence originally in 002
IMG_003.txt workshop-003.txt Sentence originally in 003

If the preview or result is wrong

Cancel before confirming when the preview affects more text than intended. If you have just applied an unwanted rename, Finder may offer Undo Rename in Edit. Check that the undo command refers to that operation; do not keep pressing Undo after unrelated file actions.

If undo is unavailable or only part of the operation happened, stop. Compare against the protected source and mapping. Recreate the practice copy if necessary. Do not force the rename by overwriting an existing target or deleting a file whose identity is uncertain.

Do not batch rename application folders, system items, libraries, or files referenced by live projects. For a real shared set, make a recoverable copy and agree on the names first.

References & scope

These official references support the software instructions. Practice documents are original, fictional teaching examples; labels can vary by release.