mirror of
https://github.com/minio/docs.git
synced 2025-07-30 07:03:26 +03:00
Reapply missing commit from PR 783: mc du (#789)
Small text and formatting edits. Lost due to network outage, oops. Original PR: https://github.com/minio/docs/pull/783 Original issue: https://github.com/minio/docs/issues/764
This commit is contained in:
@ -90,6 +90,8 @@ Parameters
|
|||||||
|
|
||||||
mc du ~/data/images
|
mc du ~/data/images
|
||||||
|
|
||||||
|
The time required for :mc:`mc du` to complete depends on the size of the target buckets and folders. A large bucket may take some time to generate a disk usage summary.
|
||||||
|
|
||||||
.. mc-cmd:: --depth, d
|
.. mc-cmd:: --depth, d
|
||||||
:optional:
|
:optional:
|
||||||
|
|
||||||
@ -151,9 +153,9 @@ Use :mc:`mc du` to print a summary of the disk usage for a bucket or folder:
|
|||||||
|
|
||||||
mc du ALIAS/PATH
|
mc du ALIAS/PATH
|
||||||
|
|
||||||
- Replace :mc-cmd:`ALIAS <mc du ALIAS>` with the :mc:`alias <mc alias>` of the S3-compatible host.
|
- Replace ``ALIAS`` with the :mc:`alias <mc alias>` of the S3-compatible host.
|
||||||
|
|
||||||
- Replace :mc-cmd:`PATH <mc du ALIAS>` with the path to the bucket or folder on the S3-compatible host.
|
- Replace ``PATH`` with the path to the bucket or folder on the S3-compatible host.
|
||||||
|
|
||||||
View the Disk Usage at a Point-In-Time
|
View the Disk Usage at a Point-In-Time
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -165,12 +167,11 @@ Use :mc-cmd:`mc du --rewind` to print a summary of disk usage at a specific poin
|
|||||||
|
|
||||||
mc du --rewind DURATION ALIAS/PATH
|
mc du --rewind DURATION ALIAS/PATH
|
||||||
|
|
||||||
- Replace :mc-cmd:`DURATION <mc du --rewind>` with the desired point-in-time in the past. For example, specify ``30d`` to show the disk usage 30 days prior to the current date.
|
- Replace ``DURATION`` with the desired point-in-time in the past. For example, specify ``30d`` to show the disk usage 30 days prior to the current date.
|
||||||
|
|
||||||
- Replace :mc-cmd:`ALIAS <mc du ALIAS>` with the
|
- Replace ``ALIAS`` with the :mc:`alias <mc alias>` of the S3-compatible host.
|
||||||
:mc:`alias <mc alias>` of the S3-compatible host.
|
|
||||||
|
|
||||||
- Replace :mc-cmd:`PATH <mc du ALIAS>` with the path to the bucket or folder on the S3-compatible host.
|
- Replace ``PATH`` with the path to the bucket or folder on the S3-compatible host.
|
||||||
|
|
||||||
.. include:: /includes/facts-versioning.rst
|
.. include:: /includes/facts-versioning.rst
|
||||||
:start-after: start-versioning-admonition
|
:start-after: start-versioning-admonition
|
||||||
@ -186,9 +187,9 @@ Use :mc-cmd:`mc du --recursive` to print a summary for each folder recursively:
|
|||||||
|
|
||||||
mc du --recursive ALIAS/PATH
|
mc du --recursive ALIAS/PATH
|
||||||
|
|
||||||
- Replace :mc-cmd:`ALIAS <mc du ALIAS>` with the :mc:`alias <mc alias>` of the S3-compatible host.
|
- Replace ``ALIAS`` with the :mc:`alias <mc alias>` of the S3-compatible host.
|
||||||
|
|
||||||
- Replace :mc-cmd:`PATH <mc du ALIAS>` with the path to the bucket or folder on the S3-compatible host.
|
- Replace ``PATH`` with the path to the bucket or folder on the S3-compatible host.
|
||||||
|
|
||||||
|
|
||||||
Behavior
|
Behavior
|
||||||
|
Reference in New Issue
Block a user