In this guide

Move or Rename File or Folder

Move an item or change its name.

Action referenceChange

What this action does #

First, connect Dropbox in Services. Then open Actions → + → Dropbox and choose Move or Rename File or Folder.

What a run does

Running or testing this action changes something in your connected service.

More about this action

A folder includes all its contents. The destination must include the new name. Existing destinations are not overwritten. Ownership transfer is disabled. Case-only renaming is unsupported.

Inputs to fill in #

Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.

Source

RequiredText

Supply a text value for this input.

This input offers a picker for file or folder from your connected account. You can also supply its value directly.

Example value (replace with your own):
/Homework/report.pdf

Destination

RequiredText

With a destination folder selected, enter a name or relative path inside it. Leave the folder as / to use a full Dropbox path.

Example value (replace with your own):
/Homework/Reports/report.pdf

Destination folder

OptionalText

Choose the existing parent folder. / means the root of your Dropbox or app folder.

This input offers a picker for folder from your connected account. You can also supply its value directly.

Default: /

Example value (replace with your own):
/Homework

Auto rename

OptionalOn or off

Choose a new name if the destination already exists.

Default: false

What comes back #

In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.

Returned fieldTypeMeaning
metadataobjectA group of named values.
metadata.namestringText value.
metadata.idstringText value.
metadata.path_displaystringText value.
metadata.path_lowerstringText value.
metadata.sizeintegerFile size in bytes; absent for folders.
metadata.revstringText value.
metadata.server_modifiedstringText value.
metadata.client_modifiedstringText value.
metadata.is_downloadablebooleanTrue or false.
metadata.content_hashstringText value.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

Advanced reference #

Request, permissions, and identifiers

Request: POST https://api.dropboxapi.com/2/files/move_v2

Action identifier: dropbox.move.v1

Permissions declared for this action: files.content.write. The account’s own access rules also apply.

InputRequest keyLocation
Sourcefrom_pathbody
Destinationto_pathbody
Destination folderdestination_folderbody
Auto renameautorenamebody

Dropbox API reference