Rename files with numbers prepended

Takes a list of files and adds an index before each title as the new filename.

Scripting Actions

Select File
Prompts to select files or folders.
shortcuts-action-icon-set-variable.webp
Set Variable
Sets the value of the specified variable to the input of this action.
shortcuts-action-icon-repeat-with-each.webp
Repeat with Each
Takes a list of items as input, and runs the contained actions once for each item in the list.
shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-text.webp
Text
Passes the specified text to the next action.
shortcuts-action-icon-number.webp
Number
Passed a number to the next action

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Rename%20files%20with%20numbers%20prepended
Link to Open Shortcut
shortcuts://open-shortcut?name=Rename%20files%20with%20numbers%20prepended
AppleScript code
tell application “Shortcuts Events” run shortcut “Rename files with numbers prepended” end tell

More From This Folder

More From The Library

Open the AI Image Generator from Meta AI

Opens the URL for the AI Image Generator from Meta AI where you change options like aspect ratio or aesthetics along with your prompt. Capabilities listed include “Create images,” “Create an image of yourself,” “Edit images,” “Restyle images,” “Animate images,” and “Analyze images.”

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more