borgbackup/borg

borg2 find?

Closed

#9,974 opened on Jul 30, 2026

 (0 comments) (1 reaction) (1 assignee)Python (732 forks)batch import
easygood first issuequestion

Repository metrics

Stars
 (10,086 stars)
PR merge metrics
 (Avg merge 5d 12h) (91 merged PRs in 30d)

Description

Do we need this?

It could support the usual archive matching options (--last, --match-archives, ...) and then iterate over the matching archives.

For each archive, it would iterate over all items and could match misc. search criteria (e.g.: pattern match on file path, ...) and then output archive name and item it found.

One can do something similar already by:

  • borg list (maybe also using custom --format) and grep
  • borg mount and find

So, would a borg find be worth it?

Note:

This would not use an index (because keeping an index up-to-date costs a lot of runtime and also likely quite a lot of space).

Contributor guide