"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
docs: document --cache-dir flag
albertony0ffdca42d536
diff --git a/docs/content/docs.md b/docs/content/docs.mdindex a6955a271..a1ee45970 100644--- a/docs/content/docs.md+++ b/docs/content/docs.md@@ -596,6 +596,23 @@ Set to `0` to disable the buffering for the minimum memory usage.Note that the memory allocation of the buffers is influenced by the[--use-mmap](#use-mmap) flag.+### --cache-dir=DIR ###++Specify the directory rclone will use for caching, to override+the default.++Default value is depending on operating system:+- Windows `%LocalAppData%\rclone`, if `LocalAppData` is defined.+- macOS `$HOME/Library/Caches/rclone` if `HOME` is defined.+- Unix `$XDG_CACHE_HOME/rclone` if `XDG_CACHE_HOME` is defined, else `$HOME/.cache/rclone` if `HOME` is defined.+- Fallback (on all OS) to `$TMPDIR/rclone`, where `TMPDIR` is the value from [--temp-dir](#temp-dir-dir).++You can use the [config paths](/commands/rclone_config_paths/)+command to see the current value.++Cache directory is heavily used by the [VFS File Caching](/commands/rclone_mount/#vfs-file-caching)+mount feature, but also by [serve](/commands/rclone_serve/), [GUI](/gui) and other parts of rclone.+### --check-first ###If this flag is set then in a `sync`, `copy` or `move`, rclone will do