The Rename
Changing the File Name, the Extension or Both
How the Change: popup decides whether an action renames the file name, the extension or both, with examples: change .jpeg to .jpg or lowercase all extensions.
Most actions have a Change: popup menu below their settings. It decides which part of the name the action works on:
only the file nameleaves the extension alone. This is the default for most actionsonly the file extensionchanges the characters after the dot, e.g.jpeginphoto.jpegonly the file extension (including separator)includes the dot, e.g..jpegboth the file name and the extensiontreats the whole name as one piece of text
Examples
- Change
.jpegto.jpg: choose theReplace textaction, replacejpegwithjpgand setChange:toonly the file extension, so thatholiday.jpeg→holiday.jpg - Make all extensions lowercase: choose
Convert to lowercaseand setChange:toonly the file extension, so thatScan.PDF→Scan.pdf - Add an extension to files that have none: choose
Add text to end, type.txtand setChange:toboth the file name and the extension, so thatnotes→notes.txt
Things to watch
macOS uses the extension to decide which application opens a file. If files no longer open after a rename, the
extension was probably changed or removed; adding the original extension back fixes it. The Finder also hides
extensions in some cases, so a name that looks like holiday may really be holiday.jpg. Select the file in the
Finder and choose File › Get Info to see the full name under Name & Extension.
The Show Invisible Characters option in View › Preview makes spaces at the end of a name visible, which is
another common reason why an extension does not look right.