backblaze-labs/b2-action - v0.1.0
    Preparing search index...

    Function copyCommand

    • Server-side copy of one B2 object to a new name, within the same bucket or across two buckets in the same account.

      The copy is done by reference (b2_copy_file for small, b2_copy_part for large): bytes never traverse the runner. This is dramatically faster and cheaper than download-then-reupload for any non-trivial file.

      Cross-bucket: set source-bucket to the source bucket name. The action's bucket input is the destination. The application key must have read permission on the source bucket and write permission on the destination.

      Parameters

      Returns Promise<CopyResult>