antony Nextcloud icon

antony Nextcloud

Manage files, folders, shares, versions and search in Nextcloud

File → Move

AI-generated

Summary

Move or rename a file in Nextcloud using its source and destination paths. The operation sends a WebDAV MOVE request for each input item and can be configured to overwrite an existing destination.

Inputs

  • Source Path (required) — Path of the file to move, such as /Documents/old-name.txt. A Nextcloud file ID path is also resolved to the file's current path.
  • Destination Path (required) — Target path, including the file name, such as /Documents/new-name.txt. A Nextcloud file ID path is also resolved.
  • Overwrite — Whether to replace a file already at the destination. Defaults to false.

Output shape

One JSON item per successful input item.

Each item contains {"success": true, "sourcePath": "…", "destinationPath": "…"}; the paths are the supplied values. If Continue On Fail is enabled, failed items instead contain an error field. Otherwise, an error stops execution.

Links

Discussion