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

Changed the docs scripts to use $HOME & $USER instead of specific values

Anagh Kumar Baranwal1b78f4d1eae0
diff --git a/Makefile b/Makefile
index 4e515ab31..be1d1b434 100644
--- a/Makefile
+++ b/Makefile
@@ -116,7 +116,7 @@ MANUAL.txt: MANUAL.md
pandoc -s --from markdown --to plain MANUAL.md -o MANUAL.txt
commanddocs: rclone
- rclone gendocs docs/content/commands/
+ XDG_CACHE_HOME="" XDG_CONFIG_HOME="" HOME="\$$HOME" USER="\$$USER" rclone gendocs docs/content/commands/
backenddocs: rclone bin/make_backend_docs.py
./bin/make_backend_docs.py
diff --git a/docs/content/cache.md b/docs/content/cache.md
index cc9bde8b5..83d72df61 100644
--- a/docs/content/cache.md
+++ b/docs/content/cache.md
@@ -420,7 +420,7 @@ The remote name is used as the DB file name.
- Config: db_path
- Env Var: RCLONE_CACHE_DB_PATH
- Type: string
-- Default: "/home/ncw/.cache/rclone/cache-backend"
+- Default: "$HOME/.cache/rclone/cache-backend"
#### --cache-chunk-path
@@ -436,7 +436,7 @@ then "--cache-chunk-path" will use the same path as "--cache-db-path".
- Config: chunk_path
- Env Var: RCLONE_CACHE_CHUNK_PATH
- Type: string
-- Default: "/home/ncw/.cache/rclone/cache-backend"
+- Default: "$HOME/.cache/rclone/cache-backend"
#### --cache-db-purge