Include inode in JSON output for find and ls

This introduces the inode attribute to the JSON output emitted for nodes
in `ls` and matches in `find`. There doesn't seem to be any discernible
reason to omit the inode and it can be useful in scripting scenarios.
This commit is contained in:
Daniel Danner
2023-10-11 20:35:43 +02:00
parent 4087c3aff7
commit a858ab254b
4 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
Enhancement: Include inode numbers in JSON output for find and ls
Restic used to omit the inode numbers in the JSON messages emitted for nodes by
the `ls` command as well as for matches by the `find` command. It now includes
those values whenever they are available.
https://github.com/restic/restic/pull/4511