mirror of
https://github.com/restic/restic.git
synced 2025-12-02 12:22:02 +00:00
ui: restore --delete indicates number of deleted files (#5100)
* ui: restore --delete indicates number of deleted files * adds new field `FilesDeleted` to the State struct, JSON and text progress updaters * increment FilesDeleted count when ReportedDeletedFile * ui: collect the files to be deleted, delete, then update the count post deletion * docs: update scripting output fields for restore command ui: report deleted directories and refactor function name to ReportDeletion
This commit is contained in:
8
changelog/unreleased/issue-5092
Normal file
8
changelog/unreleased/issue-5092
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Indicate the of deleted files/directories during restore
|
||||
|
||||
Restic now indicates the number of deleted files/directories during restore.
|
||||
The `--json` output now includes a `files_deleted` field that shows the number
|
||||
of files and directories that were deleted during restore.
|
||||
|
||||
https://github.com/restic/restic/issues/5092
|
||||
https://github.com/restic/restic/pull/5100
|
||||
Reference in New Issue
Block a user