diff options
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/file.rst | 5 | ||||
-rw-r--r-- | Help/release/dev/file-ARCHIVE-compression-level.rst | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst index d77ad2d..4210bd4 100644 --- a/Help/command/file.rst +++ b/Help/command/file.rst @@ -987,6 +987,7 @@ Archiving PATHS <paths>... [FORMAT <format>] [COMPRESSION <compression>] + [COMPRESSION_LEVEL <compression level>] [MTIME <mtime>] [VERBOSE]) @@ -1004,6 +1005,10 @@ compression. The other formats use no compression by default, but can be directed to do so with the ``COMPRESSION`` option. Valid values for ``<compression>`` are ``None``, ``BZip2``, ``GZip``, ``XZ``, and ``Zstd``. +Compression level can be specied by using ``COMPRESSION_LEVEL`` option. +Compression level should be between 0-9. 0 is the default compression. +``COMPRESSION`` option must be specified for ``COMPRESSION_LEVEL``. + .. note:: With ``FORMAT`` set to ``raw`` only one file will be compressed with the compression type specified by ``COMPRESSION``. diff --git a/Help/release/dev/file-ARCHIVE-compression-level.rst b/Help/release/dev/file-ARCHIVE-compression-level.rst new file mode 100644 index 0000000..719b694 --- /dev/null +++ b/Help/release/dev/file-ARCHIVE-compression-level.rst @@ -0,0 +1,5 @@ +file-ARCHIVE-compression-level +------------------------------ + +* The :command:`file(ARCHIVE_CREATE)` command gained a ``COMPRESSION_LEVEL`` + option to specify the compression level. |