2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 02:48:55 +00:00

DOCS: Incorrectly used SI units when IEC units were meant (fix #3669)

This commit is contained in:
Henrik Bengtsson 2022-05-02 21:21:39 -07:00
parent 26c333325c
commit 9bb532672a

View File

@ -346,12 +346,12 @@ option:
$ restic -r /srv/restic-repo backup ~/work --exclude-larger-than 1M $ restic -r /srv/restic-repo backup ~/work --exclude-larger-than 1M
This excludes files in ``~/work`` which are larger than 1 MB from the backup. This excludes files in ``~/work`` which are larger than 1 MiB from the backup.
The default unit for the size value is bytes, so e.g. ``--exclude-larger-than 2048`` The default unit for the size value is bytes, so e.g. ``--exclude-larger-than 2048``
would exclude files larger than 2048 bytes (2 kilobytes). To specify other units, would exclude files larger than 2048 bytes (2 KiB). To specify other units,
suffix the size value with one of ``k``/``K`` for kilobytes, ``m``/``M`` for megabytes, suffix the size value with one of ``k``/``K`` for KiB (1024 bytes), ``m``/``M`` for MiB (1024^2 bytes),
``g``/``G`` for gigabytes and ``t``/``T`` for terabytes (e.g. ``1k``, ``10K``, ``20m``, ``g``/``G`` for GiB (1024^3 bytes) and ``t``/``T`` for TiB (1024^4 bytes), e.g. ``1k``, ``10K``, ``20m``,
``20M``, ``30g``, ``30G``, ``2t`` or ``2T``). ``20M``, ``30g``, ``30G``, ``2t`` or ``2T``).
Including Files Including Files