rename.rst.inc 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
  2. .. _borg_rename:
  3. borg rename
  4. -----------
  5. .. code-block:: none
  6. borg [common options] rename [options] OLDNAME NEWNAME
  7. .. only:: html
  8. .. class:: borg-options-table
  9. +-------------------------------------------------------+-------------+------------------------------+
  10. | **positional arguments** |
  11. +-------------------------------------------------------+-------------+------------------------------+
  12. | | ``OLDNAME`` | specify the archive name |
  13. +-------------------------------------------------------+-------------+------------------------------+
  14. | | ``NEWNAME`` | specify the new archive name |
  15. +-------------------------------------------------------+-------------+------------------------------+
  16. | .. class:: borg-common-opt-ref |
  17. | |
  18. | :ref:`common_options` |
  19. +-------------------------------------------------------+-------------+------------------------------+
  20. .. raw:: html
  21. <script type='text/javascript'>
  22. $(document).ready(function () {
  23. $('.borg-options-table colgroup').remove();
  24. })
  25. </script>
  26. .. only:: latex
  27. OLDNAME
  28. specify the archive name
  29. NEWNAME
  30. specify the new archive name
  31. :ref:`common_options`
  32. |
  33. Description
  34. ~~~~~~~~~~~
  35. This command renames an archive in the repository.
  36. This results in a different archive ID.