mirror of
https://github.com/restic/restic.git
synced 2025-08-23 15:57:37 +00:00
ls: sort output by size, atime, ctime, mtime, time(=mtime), extension (#5182)
Enhancement: create ability to sort output of restic ls -l by name, size, atime, ctime, mtime, time(=mtime), X(=extension), extension --------- Co-authored-by: Michael Eischer <michael.eischer@fau.de>
This commit is contained in:

committed by
GitHub

parent
d79681b987
commit
060a44202f
11
changelog/unreleased/issue-4179
Normal file
11
changelog/unreleased/issue-4179
Normal file
@@ -0,0 +1,11 @@
|
||||
Enhancement: add sort options for `ls` command
|
||||
|
||||
in the past, the output of ls -l was sorted by name. Now it can be sorted by
|
||||
one of the specifiers (name|size|time=mtime|atime|ctime|extension).
|
||||
Use --sort <sortable field> to achieve this.
|
||||
|
||||
Reverse sorting also has been implemtented. Use --reverse to indicate reverse
|
||||
sorting.
|
||||
|
||||
https://github.com/restic/restic/issues/4179
|
||||
https://github.com/restic/restic/pull/5182
|
Reference in New Issue
Block a user