Provided by: borgbackup2_2.0.0b5-1_amd64 bug

NAME

       borg-match-archives - Details regarding match-archives

DESCRIPTION

       The  --match-archives option matches a given pattern against the list of all archive names
       in the repository.

       It uses pattern styles similar to the ones described by borg help patterns:

       Identical match pattern, selector id: (default)
              Simple string match, must fully match exactly as given.

       Shell-style patterns, selector sh:
              Match like on the shell, wildcards like * and ? work.

       Regular expressions, selector re:
              Full regular expression support.  This is very powerful, but can  also  get  rather
              complicated.

       Examples:

          # id: style
          borg delete --match-archives 'id:archive-with-crap'
          borg delete -a 'id:archive-with-crap'  # same, using short option
          borg delete -a 'archive-with-crap'  # same, because 'id:' is the default

          # sh: style
          borg delete -a 'sh:home-kenny-*'

          # re: style
          borg delete -a 're:pc[123]-home-(user1|user2)-2022-09-.*'

AUTHOR

       The Borg Collective

                                            2023-03-01                     BORG-MATCH-ARCHIVES(1)