Skip to contents

File attributes

Usage

aws_file_attr(remote_path)

Arguments

remote_path

(character) one or more remote S3 paths. required

Value

a tibble with many columns, with number of rows matching length of remote_path

Note

uses s3fs::s3_file_info() internally

Examples

if (FALSE) { # \dontrun{
# files one by one
aws_file_attr(s3_path("s64-test-2", "DESCRIPTION"))
aws_file_attr(s3_path("s64-test-2", "ddd"))
aws_file_attr(s3_path("s64-test-2", "doesntexist"))
# or all together
aws_file_attr(s3_path("s64-test-2", c("DESCRIPTION", "ddd")))
} # }