Move files to another location on AWS S3
s3_file_move(path, new_path, max_batch = 100 * MB, overwrite = FALSE, ...)
(character): A character vector of s3 uri
(character): A character vector of s3 uri.
(numeric): Maximum batch size being uploaded with each multipart.
(logical): Overwrite files if the exist. If this is FALSE
and the file exists an error will be thrown.
parameters to be passed to s3_copy_object
character vector of s3 uri paths
if (FALSE) {
# Require AWS S3 credentials
temp_file = s3_file_temp(tmp_dir= "MyBucket")
s3_file_create(temp_file)
s3_file_move(temp_file, "s3://MyBucket/new_file.txt")
}