Learn R Programming

minioclient (version 0.0.6)

mc_du: Show disk usage for a target path

Description

Show disk usage for a target path

Usage

mc_du(target, flags = "")

Value

Returns the list from processx::run(), with components status, stdout, stderr, and timeout; invisibly.

Arguments

target

alias/bucket to list

flags

optional additional flags

Details

for more help, run mc_du("-h")

Examples

Run this code
if (FALSE) { # interactive()

# create a new bucket
mc_mb("play/minioclient-test")

# no disk usage on new bucket
mc_du("play/minioclient-test")

# clean up
mc_rb("play/minioclient-test")
}

Run the code above in your browser using DataLab