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

Document rclone return codes - fixes #308

Nick Craig-Wood13edf6282439
diff --git a/docs/content/docs.md b/docs/content/docs.md
index 755015a12..1e85beefc 100644
--- a/docs/content/docs.md
+++ b/docs/content/docs.md
@@ -459,3 +459,11 @@ For the filtering options
* `--dump-filters`
See the [filtering section](/filtering/).
+
+Exit Code
+---------
+
+If any errors occurred during the command, rclone will set a non zero
+exit code. This allows scripts to detect when rclone operations have
+failed.
+