s3_file_move {s3fs} | R Documentation |
Move or rename S3 files
Description
Move files to another location on AWS S3
Usage
s3_file_move(path, new_path, max_batch = 100 * MB, overwrite = FALSE, ...)
Arguments
path |
(character): A character vector of s3 uri |
new_path |
(character): A character vector of s3 uri. |
max_batch |
(numeric): Maximum batch size being uploaded with each multipart. |
overwrite |
(logical): Overwrite files if the exist. If this is |
... |
parameters to be passed to |
Value
character vector of s3 uri paths
Examples
## Not run:
# 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")
## End(Not run)
[Package s3fs version 0.1.6 Index]