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 example of how to add date as suffix

Claudius Ellsel98e1d3ee7355
diff --git a/docs/content/docs.md b/docs/content/docs.md
index e31ec2b3f..4a130faae 100644
--- a/docs/content/docs.md
+++ b/docs/content/docs.md
@@ -878,7 +878,9 @@ which would have been updated or deleted will be stored in
If running rclone from a script you might want to use today's date as
the directory name passed to `--backup-dir` to store the old files, or
-you might want to pass `--suffix` with today's date.
+you might want to pass `--suffix` with today's date. This can be done
+with `--suffix $(date +%F)` in bash, and
+`--suffix $(Get-Date -Format 'yyyy-MM-dd')` in PowerShell.
See `--compare-dest` and `--copy-dest`.