dua-cli
dua-cli copied to clipboard
Can't delete things while scanning
Hi there! Cool tool :)
I upen dua i, mark some files using space and want to delete them with ctrl+r.
But, I suppose because the tool is still scanning, I get a Traversal already running notice in the bottom.
I'm not quite sure what the problem is here, but here are some suggestions:
- When user tries to delete, pause the scan and prioritize the delete action. If that's hard, cancel the scan and restart after delete.
- Don't scan (sub)directories where the user isn't in.
- Cache the scan outputs somewhere, so the next time I open dua the scan is already done, for the most part.
Thanks for the report, I have to admit to not testing beyond 2. If you expand the the section (tab to highlight the graphics section and "e" to expand the section) does it show all of the GPUs?
Yup, pressing "e" a few times expands and shows the correct full list (and pressing more times reveals empty rows).