usage.rst 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. .. _usage_attic_change-passphrase:
  2. attic change-passphrase
  3. ~~~~~~~~~~~~~~~~~~~~~~~
  4. ::
  5. usage: attic change-passphrase [-h] [-v] repository
  6. Change passphrase on repository key file
  7. positional arguments:
  8. repository
  9. optional arguments:
  10. -h, --help show this help message and exit
  11. -v, --verbose verbose output
  12. .. _usage_attic_create:
  13. attic create
  14. ~~~~~~~~~~~~
  15. ::
  16. usage: attic create [-h] [-v] [-s] [-e PATTERN] [-c SECONDS]
  17. [--do-not-cross-mountpoints] [--numeric-owner]
  18. ARCHIVE PATH [PATH ...]
  19. Create new archive
  20. positional arguments:
  21. ARCHIVE archive to create
  22. PATH paths to archive
  23. optional arguments:
  24. -h, --help show this help message and exit
  25. -v, --verbose verbose output
  26. -s, --stats print statistics for the created archive
  27. -e PATTERN, --exclude PATTERN
  28. exclude paths matching PATTERN
  29. -c SECONDS, --checkpoint-interval SECONDS
  30. write checkpointe ever SECONDS seconds (Default: 300)
  31. --do-not-cross-mountpoints
  32. do not cross mount points
  33. --numeric-owner only store numeric user and group identifiers
  34. .. _usage_attic_delete:
  35. attic delete
  36. ~~~~~~~~~~~~
  37. ::
  38. usage: attic delete [-h] [-v] ARCHIVE
  39. Delete archive
  40. positional arguments:
  41. ARCHIVE archive to delete
  42. optional arguments:
  43. -h, --help show this help message and exit
  44. -v, --verbose verbose output
  45. .. _usage_attic_extract:
  46. attic extract
  47. ~~~~~~~~~~~~~
  48. ::
  49. usage: attic extract [-h] [-v] [-e PATTERN] [--numeric-owner]
  50. ARCHIVE [PATH [PATH ...]]
  51. Extract archive contents
  52. positional arguments:
  53. ARCHIVE archive to extract
  54. PATH paths to extract
  55. optional arguments:
  56. -h, --help show this help message and exit
  57. -v, --verbose verbose output
  58. -e PATTERN, --exclude PATTERN
  59. exclude paths matching PATTERN
  60. --numeric-owner only obey numeric user and group identifiers
  61. .. _usage_attic_init:
  62. attic init
  63. ~~~~~~~~~~
  64. ::
  65. usage: attic init [-h] [-v] [--key-file] [--passphrase] repository
  66. Initialize a new repository
  67. positional arguments:
  68. repository repository to create
  69. optional arguments:
  70. -h, --help show this help message and exit
  71. -v, --verbose verbose output
  72. --key-file enable key file based encryption
  73. --passphrase enable passphrase based encryption
  74. .. _usage_attic_mount:
  75. attic mount
  76. ~~~~~~~~~~~
  77. ::
  78. usage: attic mount [-h] [-v] [-f] [-o OPTIONS] ARCHIVE MOUNTPOINT
  79. Mount archive as a FUSE fileystem
  80. positional arguments:
  81. ARCHIVE archive to mount
  82. MOUNTPOINT where to mount filesystem
  83. optional arguments:
  84. -h, --help show this help message and exit
  85. -v, --verbose verbose output
  86. -f, --foreground stay in foreground, do not daemonize
  87. -o OPTIONS Extra mount options
  88. .. _usage_attic_prune:
  89. attic prune
  90. ~~~~~~~~~~~
  91. ::
  92. usage: attic prune [-h] [-v] [-H HOURLY] [-d DAILY] [-w WEEKLY] [-m MONTHLY]
  93. [-y YEARLY] [-p PREFIX]
  94. REPOSITORY
  95. Prune repository archives according to specified rules
  96. positional arguments:
  97. REPOSITORY repository to prune
  98. optional arguments:
  99. -h, --help show this help message and exit
  100. -v, --verbose verbose output
  101. -H HOURLY, --hourly HOURLY
  102. number of hourly archives to keep
  103. -d DAILY, --daily DAILY
  104. number of daily archives to keep
  105. -w WEEKLY, --weekly WEEKLY
  106. number of daily archives to keep
  107. -m MONTHLY, --monthly MONTHLY
  108. number of monthly archives to keep
  109. -y YEARLY, --yearly YEARLY
  110. number of yearly archives to keep
  111. -p PREFIX, --prefix PREFIX
  112. only consider archive names starting with this prefix
  113. .. _usage_attic_verify:
  114. attic verify
  115. ~~~~~~~~~~~~
  116. ::
  117. usage: attic verify [-h] [-v] [-e PATTERN] ARCHIVE [PATH [PATH ...]]
  118. Verify archive consistency
  119. positional arguments:
  120. ARCHIVE archive to verity integrity of
  121. PATH paths to verify
  122. optional arguments:
  123. -h, --help show this help message and exit
  124. -v, --verbose verbose output
  125. -e PATTERN, --exclude PATTERN
  126. exclude paths matching PATTERN