powered by
This function uses the mc command to list files and directories at the specified target location.
mc
mc_ls(target, recursive = FALSE, details = FALSE)
a vector of file or directory names ("keys" in minio parlance) or, if details is TRUE, a data.frame with the directory listing information
character vector specifying the target directory path(s).
Logical indicating whether to recursively list directories. Default is FALSE.
FALSE
logical, by default FALSE; if TRUE a data frame with details for the directory listing is returned.
if (FALSE) { # interactive() # list all buckets on play server mc_ls("play/") mc_ls("play", details = TRUE) }
Run the code above in your browser using DataLab