docs: explain the tags: archive match pattern

Document that tags: takes a comma-separated list of tags and matches
archives having all of them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Thomas Waldmann
2026-09-26 23:19:46 +02:00
co-authored by Claude Opus 5.5
parent d76a58b729
commit 7ecf12df2b
+3 -2
View File
@@ -324,7 +324,7 @@ class HelpMixIn:
- aid: prefix match on the archive id (only one result allowed)
- user: exact match on the username who created the archive
- host: exact match on the hostname where the archive was created
- tags: match on the archive tags
- tags: match archives having all the given tags (comma-separated, e.g. tags:TAG1,TAG2)
- date: match on the archive creation timestamp
In case of a name pattern match,
@@ -399,8 +399,9 @@ class HelpMixIn:
borg delete -a 'user:kenny'
borg delete -a 'host:kenny-pc'
# tags match
# tags match (both lines match archives having TAG1 and TAG2)
borg delete -a 'tags:TAG1' -a 'tags:TAG2'
borg delete -a 'tags:TAG1,TAG2'
# archive creation date match
borg delete -a 'date:2025-01'