s3_put_s3: Put a local file on S3

View source: R/put.R

s3_put_s3R Documentation

Put a local file on S3

Description

Use this version to easily transfer a local file (either in your local.cache or another local directory) into an s3 bucket. As always, unqualified s3 names will use current working directory.

Usage

s3_put_s3(from, to, aws.args = NULL)

Arguments

from, to

list enclosing a flexible local and s3 path description. Same as typical ... arguments, but since we need two location you need to wrap multiple items in a list. Easy, no? s3_put_s3(from = "file_in_current_dir.txt", to = list("top", "new_filename.txt") )

aws.args

character string of any additional values you need appended to this aws.cli command line call.

Value

s3 uri


dkrozelle/s3r documentation built on May 16, 2022, 8:36 p.m.