Skip to content

exo storage move

Description

Move objects within a bucket or across buckets.

This command moves objects by performing a server-side copy followed by a delete of the source object. Object metadata, headers, and ACLs are preserved.

Warning: move is implemented as server-side copy followed by delete. If the delete step fails after a successful copy, the object will remain in both locations. There is no automatic rollback.

Multi-object prefix moves are processed serially. A trailing slash on the source selects prefix mode; -r controls recursion into subdirectories.

Examples:

exo storage move sos://my-bucket/file-a sos://my-bucket/folder/

exo storage move sos://my-bucket/file-a sos://other-bucket/file-a

exo storage move -r sos://my-bucket/prefix/ sos://other-bucket/prefix/

exo storage move -n sos://my-bucket/file-a sos://other-bucket/
exo storage move sos://BUCKET/[OBJECT|PREFIX/] sos://BUCKET/[OBJECT|PREFIX/] [flags]

Options

OptionDescription
--dry-run, -nsimulate the move operation
--force, -fskip confirmation prompt
--help, -hhelp for move
--multipart-concurrencynumber of concurrent parts for multipart moves
--recursive, -rmove objects recursively
--verbose, -voutput moved objects

Options inherited from parent commands

OptionDescription
--config, -CSpecify an alternate config file [env EXOSCALE_CONFIG]
--output-format, -OOutput format (table|json|text), see "exo output –help" for more information
--output-templateTemplate to use if output format is "text"
--quiet, -QQuiet mode (disable non-essential command output)
--timeoutPer-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT]
--use-account, -AAccount to use in config file [env EXOSCALE_ACCOUNT]

Related Commands

  • storage - Object Storage management
Last updated on