From 2f05e4add907f76d87f93f78d0ad06383d6f7f6a Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 16 Jan 2016 20:57:22 +0100 Subject: [PATCH] use the usual commandline arguments order for borg prune examples, fixes #560 borg prune --- docs/usage.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index 10abe666b..3379462d9 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -345,18 +345,18 @@ will see what it would do without it actually doing anything. # Keep 7 end of day and 4 additional end of week archives. # Do a dry-run without actually deleting anything. - $ borg prune /mnt/backup --dry-run --keep-daily=7 --keep-weekly=4 + $ borg prune --dry-run --keep-daily=7 --keep-weekly=4 /mnt/backup # Same as above but only apply to archive names starting with "foo": - $ borg prune /mnt/backup --keep-daily=7 --keep-weekly=4 --prefix=foo + $ borg prune --keep-daily=7 --keep-weekly=4 --prefix=foo /mnt/backup # Keep 7 end of day, 4 additional end of week archives, # and an end of month archive for every month: - $ borg prune /mnt/backup --keep-daily=7 --keep-weekly=4 --keep-monthly=-1 + $ borg prune --keep-daily=7 --keep-weekly=4 --keep-monthly=-1 /mnt/backup # Keep all backups in the last 10 days, 4 additional end of week archives, # and an end of month archive for every month: - $ borg prune /mnt/backup --keep-within=10d --keep-weekly=4 --keep-monthly=-1 + $ borg prune --keep-within=10d --keep-weekly=4 --keep-monthly=-1 /mnt/backup .. include:: usage/info.rst.inc