1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-04 01:23:24 +00:00

press -> compress

This commit is contained in:
buengese
2020-10-17 20:59:00 +02:00
parent 954a23ed5d
commit f3779ae427
5 changed files with 26 additions and 27 deletions

View File

@@ -1,13 +1,13 @@
---
title: "Press"
title: "Compress"
description: "Compression Remote"
date: "2020-09-14"
---
Press (Experimental)
Compress (Experimental)
-----------------------------------------
The `press` remote adds compression to another remote. It is best used with remotes containing
The `Compress` remote adds compression to another remote. It is best used with remotes containing
many large compressible files.
Please read the [warnings](#warnings) before using this remote.
@@ -30,13 +30,13 @@ c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> n
name> press
name> compress
...
8 / Compress a remote
\ "press"
\ "compress"
...
Storage> press
** See help for press backend at: https://rclone.org/press/ **
Storage> compress
** See help for compress backend at: https://rclone.org/compress/ **
Remote to compress.
Enter a string value. Press Enter for the default ("").
@@ -53,8 +53,8 @@ n) No (default)
y/n> n
Remote config
--------------------
[press]
type = press
[compress]
type = compress
remote = remote_to_press:subdir
compression_mode = gzip
--------------------
@@ -87,26 +87,26 @@ This remote is currently **experimental**. Things may break and data may be lost
at your own risk. Please understand the risks associated with using experimental code and don't use this remote in
critical applications.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/press/press.go then run make backenddocs" >}}
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/compress/compress.go then run make backenddocs" >}}
### Standard Options
Here are the standard options specific to press (Compress a remote).
Here are the standard options specific to compress (Compress a remote).
#### --press-remote
#### --compress-remote
Remote to compress.
- Config: remote
- Env Var: RCLONE_PRESS_REMOTE
- Env Var: RCLONE_COMPRESS_REMOTE
- Type: string
- Default: ""
#### --press-mode
#### --compress-mode
Compression mode.
- Config: mode
- Env Var: RCLONE_PRESS_MODE
- Env Var: RCLONE_COMPRESS_MODE
- Type: string
- Default: "gzip"
- Examples:
@@ -115,9 +115,9 @@ Compression mode.
### Advanced Options
Here are the advanced options specific to press (Compress a remote).
Here are the advanced options specific to compress (Compress a remote).
#### --press-level
#### --compress-level
GZIP compression level (-2 to 9).
@@ -130,7 +130,7 @@ GZIP compression level (-2 to 9).
Level 0 turns off compression.
- Config: level
- Env Var: RCLONE_PRESS_LEVEL
- Env Var: RCLONE_COMPRESS_LEVEL
- Type: int
- Default: -1