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
navigate to a top-level folder with a lot of directories that take a lot of space
toggle du on
switch to another context
switch back to the original context
Actual:
du is e-run each time.
Expected:
Switching context without any changes should not cause du to re-run (it should cache)
Use-case:
using nnn to purge old files isn't currently possible, it't too slow. I want to use one context to see in what folders the large files are, and switch to another context to go spelunking for large files.
The text was updated successfully, but these errors were encountered:
Switching context without any changes should not cause du to re-run (it should cache)
A lot of it comes from the CPU cache already
I want to use one context to see in what folders the large files are, and switch to another context to go spelunking for large files.
nnn refreshes to show the latest data. When you delete the files from another context, du changes.
using nnn to purge old files isn't currently possible, it's too slow.
My personal experience is completely different. Probably you are on a hard disk/USB with too many files. I would suggest you use a tool that uses static snapshot e.g. ncdu.
Exact steps to illustrate the issue
du
onActual:
du
is e-run each time.Expected:
Switching context without any changes should not cause
du
to re-run (it should cache)Use-case:
using
nnn
to purge old files isn't currently possible, it't too slow. I want to use one context to see in what folders the large files are, and switch to another context to go spelunking for large files.The text was updated successfully, but these errors were encountered: