Supabase Extended icon

Supabase Extended

Interact with Supabase database and storage

Storage → Move File

AI-generated

Summary

Move a file from one path to another in a Supabase storage bucket.

Inputs

  • bucket (required) — Name of the storage bucket
  • fromPath (required) — Current path of the file in storage
  • toPath (required) — Destination path for the file move

Output shape

Array of objects with json containing operation, bucket, fromPath, toPath, result, and success: true.

Consumes one input item and produces one output item; bucket and both paths are mandatory; operation delegates to supabase.storage.from(bucket).move(fromPath, toPath).

Examples

Example 1: Move a file within the same bucket

bucket: my-bucket, fromPath: old-folder/old-name.pdf, toPath: new-folder/old-name.pdf

Links

Discussion