From c1a84f756e13fdb97b7a525900d6d1ffd15f1049 Mon Sep 17 00:00:00 2001 From: Andrea Longo Date: Thu, 30 Mar 2023 14:06:26 -0600 Subject: [PATCH] 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 --- source/reference/minio-mc/mc-du.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/source/reference/minio-mc/mc-du.rst b/source/reference/minio-mc/mc-du.rst index 1ef2085d..9e6d7ade 100644 --- a/source/reference/minio-mc/mc-du.rst +++ b/source/reference/minio-mc/mc-du.rst @@ -90,6 +90,8 @@ Parameters 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 :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 -- Replace :mc-cmd:`ALIAS ` with the :mc:`alias ` of the S3-compatible host. +- Replace ``ALIAS`` with the :mc:`alias ` of the S3-compatible host. -- Replace :mc-cmd:`PATH ` 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -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 -- Replace :mc-cmd:`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 ``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 ` with the - :mc:`alias ` of the S3-compatible host. +- Replace ``ALIAS`` with the :mc:`alias ` of the S3-compatible host. -- Replace :mc-cmd:`PATH ` 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 :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 -- Replace :mc-cmd:`ALIAS ` with the :mc:`alias ` of the S3-compatible host. +- Replace ``ALIAS`` with the :mc:`alias ` of the S3-compatible host. -- Replace :mc-cmd:`PATH ` 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