Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: add comment how to reduce rclone binary size (#8000)

kapitainskybfa3278f3058
diff --git a/docs/content/install.md b/docs/content/install.md
index 8ba7ee9cb..d5be63cba 100644
--- a/docs/content/install.md
+++ b/docs/content/install.md
@@ -448,6 +448,11 @@ which corresponds to `~/go/bin/rclone` by default).
go install github.com/rclone/rclone@latest
```
+In some situations, rclone executable size might be too big for deployment
+in very restricted environments when all backends with large SDKs are included.
+To limit binary size unused backends can be commented out in `backends/all/all.go`
+and unused commands in `cmd/all/all.go` before building with `go build` or `make`
+
## Ansible installation {#ansible}
This can be done with [Stefan Weichinger's ansible