From bdf7dc65bddffb67fcfe70155433a8bf8d5ac4da Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 2 Nov 2015 20:53:04 +0100 Subject: [PATCH] docs: add example for rename --- docs/usage.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/usage.rst b/docs/usage.rst index 5a7ce0ede..32345c3bd 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -257,6 +257,19 @@ Note: currently, extract always writes into the current working directory ("."), .. include:: usage/rename.rst.inc +Examples +~~~~~~~~ +:: + + $ borg create /mnt/backup::archivename ~ + $ borg list /mnt/backup + archivename Mon Nov 2 20:40:06 2015 + + $ borg rename /mnt/backup::archivename newname + $ borg list /mnt/backup + newname Mon Nov 2 20:40:06 2015 + + .. include:: usage/delete.rst.inc .. include:: usage/list.rst.inc