mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01:00
fs accounting: Add deleted files total size to status summary line - fixes issue #7190
This commit is contained in:
parent
68bf6aa584
commit
64734dfe41
@ -464,7 +464,7 @@ func (s *StatsInfo) String() string {
|
||||
s.checks, ts.totalChecks, percent(s.checks, ts.totalChecks))
|
||||
}
|
||||
if s.deletes != 0 || s.deletedDirs != 0 {
|
||||
_, _ = fmt.Fprintf(buf, "Deleted: %10d (files), %d (dirs)\n", s.deletes, s.deletedDirs)
|
||||
_, _ = fmt.Fprintf(buf, "Deleted: %10d (files), %d (dirs), %s (freed)\n", s.deletes, s.deletedDirs, fs.SizeSuffix(s.deletesSize).ByteUnit())
|
||||
}
|
||||
if s.renames != 0 {
|
||||
_, _ = fmt.Fprintf(buf, "Renamed: %10d\n", s.renames)
|
||||
|
Loading…
Reference in New Issue
Block a user