download {s3fs} | R Documentation |
Download files and directories
Description
s3_file_download
downloads AWS S3
files to local
s3_file_download
downloads AWS s3
directory to local
Usage
s3_file_download(path, new_path, overwrite = FALSE, ...)
s3_dir_download(path, new_path, overwrite = FALSE, ...)
Arguments
path |
(character): A character vector of paths or uris |
new_path |
(character): A character vector of paths to the new locations. |
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_download(temp_file, "temp_file.txt")
## End(Not run)
[Package s3fs version 0.1.6 Index]