You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to free disk space, I sometimes do things other than deleting files such as running git gc or compressing them. This makes the size listed in btdu inconsistent with the size on disk until btdu is restarted. Closing, reopening, and navigating back to the directory is an inefficient process.
Having a keybinding to recompute sizes for the current directory based on only new data would make this much easier. Ncdu uses the "r" key for this.
Implementation ideas / Speculation
I suspect refreshing a directory will require also refreshing anything that shares data with the directory.
Perhaps it would be easier to always refresh the root directory? This would be essentially the same as closing and restarting btdu, but would preserve the current directory.
Would it be possible to detect size changes by comparing a subset of most / least recent samples in a file / directory?
The text was updated successfully, but these errors were encountered:
Motivation
When attempting to free disk space, I sometimes do things other than deleting files such as running
git gc
or compressing them. This makes the size listed in btdu inconsistent with the size on disk until btdu is restarted. Closing, reopening, and navigating back to the directory is an inefficient process.Having a keybinding to recompute sizes for the current directory based on only new data would make this much easier. Ncdu uses the "r" key for this.
Implementation ideas / Speculation
I suspect refreshing a directory will require also refreshing anything that shares data with the directory.
Perhaps it would be easier to always refresh the root directory? This would be essentially the same as closing and restarting btdu, but would preserve the current directory.
Would it be possible to detect size changes by comparing a subset of most / least recent samples in a file / directory?
The text was updated successfully, but these errors were encountered: