restic/cmd/restic
Jan Niklas Richter cadcab5a19 Add GroupBy option to snapshots command
This commit adds a --group-by option to the snapshots command, which
behaves similar to the --group-by option of forget. Valid option values
are "host, paths, tags". If this option is given, the output of
snapshots will be divided into multiple tables, according to the value
given (i.e. "host" will create a table of snapshots for each host, that
has a snapshot in the list). Also the JSON output will be grouped.

The default behavior (when --group-by is not given) has not changed.

More to this discussion can be found in issue #2037.
2019-04-22 14:37:58 +02:00
..
testdata Reduce dataset for integration tests 2018-03-11 21:07:47 +01:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
cleanup.go Return exit code 130 when SIGINT is received 2018-04-20 21:09:50 +02:00
cmd_backup.go Mention Cache Directoy Tagging Standard in man page and help text 2019-04-02 15:53:07 +02:00
cmd_cache.go Catch errors when walking cache directories 2018-10-08 15:47:34 +02:00
cmd_cat.go Add []byte to repo.LoadAndDecrypt and utils.LoadAll 2019-04-13 13:38:39 +02:00
cmd_check.go check: Update --cache-dir argument handling based on code review comments 2018-07-22 18:24:11 +01:00
cmd_debug.go Fix calls to repo/backend.List() everywhere 2018-01-21 21:15:09 +01:00
cmd_diff.go Make generated man pages more easy to read with items 2018-08-27 17:42:54 +02:00
cmd_dump.go dump: Use path instead of filepath 2018-11-10 12:43:11 +01:00
cmd_find.go Merge pull request #2230 from cdhowie/issue-2229 2019-04-14 19:38:38 +02:00
cmd_forget.go Include reasons in json output of forget 2019-02-23 09:38:33 -07:00
cmd_generate.go Rework generation of manpages and completion files 2017-09-26 13:12:12 +02:00
cmd_init.go init: Correct text (backend vs. repository) 2018-01-20 09:51:49 +01:00
cmd_key.go Display local time for all commands 2018-11-02 20:36:15 +01:00
cmd_list.go list: Improve error message 2018-05-17 19:41:56 +02:00
cmd_ls.go Merge pull request 1962 from mholt/lsjson 2018-10-14 15:51:38 +02:00
cmd_migrate.go Capitalize short help commands 2017-09-11 09:32:44 -07:00
cmd_mount.go more accurate umount help message, for #815 2019-01-28 16:53:35 -05:00
cmd_options.go Capitalize short help commands 2017-09-11 09:32:44 -07:00
cmd_prune.go prune: Fix calculation for removed bytes 2018-08-14 22:06:05 +02:00
cmd_rebuild_index.go index: Limit index files to 3000 pack files 2018-01-26 21:07:16 +01:00
cmd_recover.go Fix timestamps 2018-10-20 11:08:03 +02:00
cmd_restore.go Only convert iexclude & iinclude casing once 2019-01-19 11:04:53 +00:00
cmd_self_update.go Fix incorrect command name in long doc for self-update 2018-10-18 18:45:31 -04:00
cmd_snapshots.go Add GroupBy option to snapshots command 2019-04-22 14:37:58 +02:00
cmd_stats.go stats: Add shorthand flag -H for host name filter 2018-11-14 21:58:31 +00:00
cmd_tag.go debug: Remove manual Str() call Log() 2018-01-25 20:49:41 +01:00
cmd_unlock.go use global context for check, debug, dump, find, forget, init, key, 2017-12-06 07:02:55 -05:00
cmd_version.go Make version output one line. 2018-03-21 21:49:03 +01:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude.go Store reference to reject function for insensitive pattern rejection 2019-01-19 11:08:13 +00:00
exclude_test.go Add tests for insensitive variants of filter methods 2018-11-25 13:32:16 +01:00
find.go Fix calls to repo/backend.List() everywhere 2018-01-21 21:15:09 +01:00
flags_test.go Moves files 2017-07-23 14:19:13 +02:00
format.go Display local time for all commands 2018-11-02 20:36:15 +01:00
global.go Initial implementation of JSON progress reporter 2019-02-10 12:09:09 +01:00
global_debug.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_release.go Add profile build flag 2018-04-30 14:19:04 +02:00
integration_fuse_test.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
integration_helpers_test.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
integration_helpers_unix_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_helpers_windows_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_test.go Add test for --json support for forget command 2019-02-22 22:00:20 -07:00
local_layout_test.go Remove all dot-imports 2017-10-02 15:06:39 +02:00
lock.go mount: Ignore non-existing locks 2018-02-25 13:11:03 +01:00
main.go Add support for reading password from external command 2018-11-26 20:18:31 +01:00