diff --git a/NEWS b/NEWS index 29e13ba1..2411f1c4 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +1.9.3.dev0 + * Add a "--deleted" flag to the "repo-list" action for listing deleted archives that haven't + yet been compacted (Borg 2 only). + 1.9.2 * #441: Apply the "umask" option to all relevant actions, not just some of them. * #722: Remove the restriction that the "extract" and "mount" actions must match a single diff --git a/borgmatic/commands/arguments.py b/borgmatic/commands/arguments.py index f20984fa..ac407ee4 100644 --- a/borgmatic/commands/arguments.py +++ b/borgmatic/commands/arguments.py @@ -1244,6 +1244,12 @@ def make_parsers(): metavar='TIMESPAN', help='List archives that are newer than the specified time range (e.g. 7d or 12m) from the current time [Borg 2.x+ only]', ) + repo_list_group.add_argument( + '--deleted', + default=False, + action='store_true', + help="List only deleted archives that haven't yet been compacted [Borg 2.x+ only]", + ) repo_list_group.add_argument( '-h', '--help', action='help', help='Show this help message and exit' ) diff --git a/pyproject.toml b/pyproject.toml index eff2bf18..a4b332f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "borgmatic" -version = "1.9.2" +version = "1.9.3.dev0" authors = [ { name="Dan Helfman", email="witten@torsion.org" }, ]