From 7e2739bdf772f7566615b6dc9cb44e98341b0876 Mon Sep 17 00:00:00 2001 From: kapitainsky Date: Sat, 14 Feb 2026 08:45:23 +0100 Subject: [PATCH] Update rewrite command example in documentation As it is said: "Interestingly, the new snapshots replaced the old ones but were not tagged. The options `--forget` and `--tags-rewritten ''` prevent the command from adding the `rewrite` tag." the mentioned `--tags-rewritten ''` was missing in example command --- src/commands/misc/rewrite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/misc/rewrite.md b/src/commands/misc/rewrite.md index de966cd..585db6b 100644 --- a/src/commands/misc/rewrite.md +++ b/src/commands/misc/rewrite.md @@ -170,7 +170,7 @@ And using the `--forget` option, we can do the `rewrite` and `forget` steps in one command: ```console -$ rustic rewrite --forget --glob '!Project/config/secret.env' 5109f5fe ca466029 +$ rustic rewrite --forget --tags-rewritten '' --glob '!Project/config/secret.env' 5109f5fe ca466029 $ rustic snapshots --all --filter-paths Project snapshots for (host [kasimir], label [], paths [Project])