powered by
Remove an S3 bucket using mc command
mc_rb(bucket, force = FALSE)
Returns the list from processx::run(), with components status, stdout, stderr, and timeout; invisibly.
processx::run()
status
stdout
stderr
timeout
Character string specifying the name of the bucket to remove
Delete bucket without confirmation in non-interactive mode
if (FALSE) { # interactive() # Create a new bucket named "my-bucket" on the "play" system mc_mb("play/my-bucket") mc_rb("play/my-bucket") }
Run the code above in your browser using DataLab