mirror of
https://github.com/minio/docs.git
synced 2025-07-30 07:03:26 +03:00
1.7 KiB
1.7 KiB
mc tree
minio
Table of Contents
mc tree
Description
The mc tree
command
lists buckets and directories in a tree format.
When applied to an S3-compatible service bucket, mc tree
returns a tree listing
of the bucket and all bucket prefixes.
When applied to a local filesystem directory, mc tree
returns a tree listing
of the directory and all of its subdirectories.
Syntax
~mc tree
has the
following syntax:
mc tree [FLAGS] TARGET [TARGET...]
~mc tree
supports the
following arguments:
TARGET
Required The full path to an S3-compatible service bucket or local filesystem directory.
For objects on an S3-compatible service, specify the alias <mc alias>
of a
configured service as the prefix to the ~mc stat TARGET
path. For example:
mc stat [FLAGS] play/mybucket
files, f
Includes files in the object or directory in the mc tree
output.
rewind
Examples
mc tree play/mybucket