| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../api/../../cpp/../r/reference/copy_files.html | [Back] [Original] |
Copy files between FileSystems
A string path to a local directory or file, a URI, or a
SubTreeFileSystem. Files will be copied recursively from this path.
A string path to a local directory or file, a URI, or a
SubTreeFileSystem. Directories will be created as necessary
The maximum size of block to read before flushing to the destination file. A larger chunk_size will use more memory while copying but may help accommodate high latency FileSystems.
if (FALSE) {
# Copy an S3 bucket's files to a local directory:
copy_files("s3://your-bucket-name", "local-directory")
# Using a FileSystem object
copy_files(s3_bucket("your-bucket-name"), "local-directory")
# Or go the other way, from local to S3
copy_files("local-directory", s3_bucket("your-bucket-name"))
}
| Web Proxy Viewer | New URL | Original Page |