mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 03:18:55 +00:00
2a92b68e65
This patch adds a `--latest` option to limit snapshots list to the n last snapshots. It is very similar to the `--last` one but does not limit to one entry. It also deprecates the `--last` flag usage in favor of `--latest 1` Output example: $ restic snapshots --latest 2 repository 0d3eb989 opened successfully, password is correct ID Time Host Tags Paths ------------------------------------------------------------ 5a33bdcc 2020-12-14 12:30:00 local /home 73887d8e 2020-12-15 12:30:00 local /home ------------------------------------------------------------ 2 snapshots Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org> |
||
---|---|---|
.. | ||
.gitignore | ||
issue-3214 | ||
issue-3284 | ||
issue-3293 | ||
issue-3296 | ||
issue-3302 | ||
issue-3334 | ||
pull-3167 | ||
pull-3305 |