1
0
mirror of https://github.com/rclone/rclone.git synced 2025-11-23 21:44:49 +02:00

docs: add example of how to add date as suffix

This commit is contained in:
Claudius Ellsel
2025-08-27 22:01:28 +02:00
committed by GitHub
parent 50d7a80331
commit 98e1d3ee73

View File

@@ -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`.