
Move an Object in MinIO (Copy + Remove with Size Verification)
Source:R/minio_move_object.R
minio_move_object.RdMoves an object from a source bucket/key to a destination bucket/key by performing a copy operation followed by a delete of the source object.
Usage
minio_move_object(
from_bucket,
from_object,
to_bucket,
to_object = NULL,
overwrite = FALSE,
verify = TRUE,
verify_size = TRUE,
use_https = TRUE,
region = ""
)Arguments
- from_bucket
Character. Source bucket name.
- from_object
Character. Source object key (path).
- to_bucket
Character. Destination bucket name.
- to_object
Character or
NULL. Destination object key (path). IfNULLor empty, defaults tofrom_object.- overwrite
Logical. If
TRUE, overwrites the destination object if it already exists. Defaults toFALSE.- verify
Logical. If
TRUE, checks that the destination object exists after copy before deleting the source. Defaults toTRUE.- verify_size
Logical. If
TRUE, compares object size (bytes) between source and destination before deleting the source. Defaults toTRUE.- use_https
Logical. Whether to use HTTPS when connecting to MinIO.
- region
Character. Region string required by
aws.s3.