antony Nextcloud icon

antony Nextcloud

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

Folder → Move

AI-generated

Summary

Moves a folder within Nextcloud or renames it by moving it to a new path. For each input item, sends a WebDAV MOVE request and returns a success record with the supplied source and destination paths.

Inputs

  • Source Path (required) — Path of the folder to move, such as /Documents/old-folder. A Nextcloud file ID path may also be resolved.
  • Destination Path (required) — New folder path, such as /Documents/new-folder. A Nextcloud file ID path may also be resolved.
  • Overwrite — Whether to replace an existing destination. Defaults to false; sent to Nextcloud as the WebDAV Overwrite setting.

Output shape

One JSON item per input item, containing success: true, sourcePath, and destinationPath after the move succeeds.

Paths in the output are the supplied values. If the request fails, execution errors unless Continue On Fail is enabled; then that input produces an item with an error field.

Links

Discussion