Rename files with numbers prepended

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

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

More From This Folder

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 The Library

Play my Replay 2017

Plays the preselected Replay 2017 playlists on Shuffle. Top tracks include Cash Machine, which I found infinitely funny or enjoyable during the same year when the company I worked at got sold to Apple.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more