keyboard shortcut rename mac code example Example: rename shortcut mac By far, the fastest way to rename a file is to: select it and press Return.