aou_ls_bucket {allofus} | R Documentation |
List the current files in your bucket
Description
Lists all files in the bucket or files matching a certain pattern.
Usage
aou_ls_bucket(
pattern = "",
silent = FALSE,
recursive = TRUE,
bucket = getOption("aou.default.bucket"),
gsutil_args = ""
)
Arguments
pattern |
Regular expression, such as "*.csv" or a single file name e.g., "mydata.csv". Default will find all files apart from notebooks (.ipynb files). |
silent |
Whether to omit the names of files found. Defaults to |
recursive |
Whether to search subdirectories. Defaults to |
bucket |
Bucket to retrieve file from. Defaults to
|
gsutil_args |
A string containing other arguments passed to |
Value
A vector of file names
Examples
# list all files, including in subdirectories
aou_ls_bucket()
# list all csv files
aou_ls_bucket("*.csv")
[Package allofus version 1.1.0 Index]