rename.rst.inc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. .. _borg_rename:
  2. borg rename
  3. -----------
  4. ::
  5. usage: borg rename [-h] [--critical] [--error] [--warning] [--info] [--debug]
  6. [--lock-wait N] [--show-rc] [--no-files-cache] [--umask M]
  7. [--remote-path PATH]
  8. ARCHIVE NEWNAME
  9. Rename an existing archive
  10. positional arguments:
  11. ARCHIVE archive to rename
  12. NEWNAME the new archive name to use
  13. optional arguments:
  14. -h, --help show this help message and exit
  15. --critical work on log level CRITICAL
  16. --error work on log level ERROR
  17. --warning work on log level WARNING (default)
  18. --info, -v, --verbose
  19. work on log level INFO
  20. --debug work on log level DEBUG
  21. --lock-wait N wait for the lock, but max. N seconds (default: 1).
  22. --show-rc show/log the return code (rc)
  23. --no-files-cache do not load/update the file metadata cache used to
  24. detect unchanged files
  25. --umask M set umask to M (local and remote, default: 0077)
  26. --remote-path PATH set remote path to executable (default: "borg")
  27. Description
  28. ~~~~~~~~~~~
  29. This command renames an archive in the repository.