]> gitweb.fluxo.info Git - borger.git/commitdiff
Fix: borg prune invocation
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 20 Jul 2024 14:18:30 +0000 (11:18 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 20 Jul 2024 14:18:30 +0000 (11:18 -0300)
borger

diff --git a/borger b/borger
index c2b8c0d745b8c60fbcb02181adfea2c084cea87c..d0cc3029f7f70159aa1617cec2624719e5991787 100755 (executable)
--- a/borger
+++ b/borger
@@ -186,11 +186,11 @@ function borger_create {
 # one specific archive and not apply to archives also.
 function borger_prune {
   info "Pruning repository..."
+  # Option "--prefix" has been deprecated.
+  # Use "--glob-archives 'yourprefix*'" (-a) instead.
+  #--prefix "${PLACEHOLDER}-"         \
   borg prune                          \
     --list                            \
-    # Option "--prefix" has been deprecated.
-    # Use "--glob-archives 'yourprefix*'" (-a) instead.
-    #--prefix "${PLACEHOLDER}-"       \
     --glob-archives ${PLACEHOLDER}'*' \
     --show-rc                         \
     --keep-daily    $KEEPDAILY        \