Rename or move a file
move_fileRename or move files and folders inside an Overleaf project, creating any missing target folders. Update your \input or \include references after the change.
Instructions
Rename and/or move a file or folder within the project, e.g. intro.tex → sections/introduction.tex. Missing target folders are created. Remember to update \input/\include references. Uses Git; falls back to the opt-in web mode if enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Current path. | |
| project | No | Project ID or Overleaf project URL (or project name in web mode). Defaults to OVERLEAF_PROJECT_ID. | |
| new_path | Yes | New path. | |
| commit_message | No |