evroc storage bucket copy

Copy file/object to/from a bucket

Synopsis

Copy file/object to/from a bucket

evroc storage bucket copy [flags]

Examples


	# Copy a local file to a bucket object
	evroc storage bucket copy --from /path/to/local/file --to s3://bucket/object

	# Copy a bucket object to a local file
	evroc storage bucket copy --from s3://bucket/object --to /path/to/local/file

	# Copy a bucket object to another bucket object
	evroc storage bucket copy --from s3://bucket/object --to s3://bucket/object
	

Options

  -f, --from string             Path to the object to copy: either a local file or a bucket object
  -h, --help                    help for copy
      --s3-credentials string   Path to the S3 credentials file (default "~/.evroc/credentials.ini")
  -t, --to string               Path to the object to copy to: either a local file or a bucket object

Options inherited from parent commands

      --config string   Path to the evroc config file (default "~/.evroc/config.yaml")
      --force-yes       Overrides confirmation prompts on destructive actions - use with caution
      --json            JSON output

SEE ALSO