mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02:00
docs/compress: minor improvements
This commit is contained in:
parent
bce395385d
commit
19fc1b2a95
@ -84,11 +84,11 @@ func init() {
|
|||||||
Help: `GZIP compression level (-2 to 9).
|
Help: `GZIP compression level (-2 to 9).
|
||||||
|
|
||||||
Generally -1 (default, equivalent to 5) is recommended.
|
Generally -1 (default, equivalent to 5) is recommended.
|
||||||
Levels 1 to 9 increase compressiong at the cost of speed.. Going past 6
|
Levels 1 to 9 increase compression at the cost of speed. Going past 6
|
||||||
generally offers very little return.
|
generally offers very little return.
|
||||||
|
|
||||||
Level -2 uses Huffmann encoding only. Only use if you now what you
|
Level -2 uses Huffmann encoding only. Only use if you know what you
|
||||||
are doing
|
are doing.
|
||||||
Level 0 turns off compression.`,
|
Level 0 turns off compression.`,
|
||||||
Default: sgzip.DefaultCompression,
|
Default: sgzip.DefaultCompression,
|
||||||
Advanced: true,
|
Advanced: true,
|
||||||
@ -98,8 +98,8 @@ func init() {
|
|||||||
In this case the compressed file will need to be cached to determine
|
In this case the compressed file will need to be cached to determine
|
||||||
it's size.
|
it's size.
|
||||||
|
|
||||||
Files smaller than this limit will be cached in RAM, file larger than
|
Files smaller than this limit will be cached in RAM, files larger than
|
||||||
this limit will be cached on disk`,
|
this limit will be cached on disk.`,
|
||||||
Default: fs.SizeSuffix(20 * 1024 * 1024),
|
Default: fs.SizeSuffix(20 * 1024 * 1024),
|
||||||
Advanced: true,
|
Advanced: true,
|
||||||
}},
|
}},
|
||||||
|
@ -66,12 +66,12 @@ y/e/d> y
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Compression Modes
|
### Compression Modes
|
||||||
Currently only gzip compression is supported, it provides a decent balance between speed and strength and is well
|
Currently only gzip compression is supported. It provides a decent balance between speed and size and is well
|
||||||
supported by other application. Compression strength can further be configured via an advanced setting where 0 is no
|
supported by other applications. Compression strength can further be configured via an advanced setting where 0 is no
|
||||||
compression and 9 is strongest compression.
|
compression and 9 is strongest compression.
|
||||||
|
|
||||||
#### Filetype
|
#### Filetype
|
||||||
If you open a remote wrapped by press, you will see that there are many files with an extension corresponding to
|
If you open a remote wrapped by compress, you will see that there are many files with an extension corresponding to
|
||||||
the compression algorithm you chose. These files are standard files that can be opened by various archive programs,
|
the compression algorithm you chose. These files are standard files that can be opened by various archive programs,
|
||||||
but they have some hidden metadata that allows them to be used by rclone.
|
but they have some hidden metadata that allows them to be used by rclone.
|
||||||
While you may download and decompress these files at will, do **not** manually delete or rename files. Files without
|
While you may download and decompress these files at will, do **not** manually delete or rename files. Files without
|
||||||
|
Loading…
x
Reference in New Issue
Block a user