shortcuts-action-icon-rename-file.webp

Renames the specified file.

Score
Type
InterActivity
Expertise
4/5
Type
InterActivity
Expertise

Action Information

Parameters

Rename [File] to [Name]

Input

Files

Result

Files

Details

Type
Interactivity
Expertise Needed
Matthew's Score
4/5
Date Added
07/06/2021
Identifier
is.workflow.actions.file.rename

Comments

The Rename File action is also a welcome addition to Shortcuts, providing a more specific function for renaming a file in-place than what currently exists.
In Shortcuts, there’s already a Set Name action that lets users attach a filename to any media they’re working on, which can be useful for giving a new file a new name and even changing the extension, as well as some Shortcuts-specific techniques like naming data so it appears in Choose From List with that name as the menu option while passing out the data as a value.
However, that dual purpose—as well as a slightly less clear title—meant than many people simply didn’t know about or think to use Set Name; plus it’d create a copy of your File and you’d have to overwrite the existing file with a new version just to rename it.
Now, Rename File lets you update the title of an existing file without creating a new copy, which will be much more practical for everyday uses.
I could see using this with a large batch-renaming workflow where you prepend or append a category type or dates with a big set of files that aren’t named properly – I do this regularly with image assets I’m uploading to a freelance website I work for, for example.

Works Well With

No results found.

Shortcuts Using This

No results found.


Get more out of Shortcuts – become a member.