(Automatically imported from issue 100 of the old bug tracker)
Description
Created: 2017年06月30日 03:16:32 GMT by Kaushal Modi
Hello,
Many times, I need to clean up a directory selectively. I use ncdu to manage disk space where I need to deal with a cleanup of 500+ GB at a time.
At present, I need to wait while the deletion of one directory is happening (which could be couple of minutes), return to the terminal running ncdu, and repeat.
Another wait of course is that I use the new 'b' binding and then do \rm -rf list/ of/ dirs/.
This feature request is to make multiple directory deletion smoother.
Proposal:
- Select multiple directories/files using the 'm' key (for marking)
- Hitting 'm' again on a selected directory/file will unselect it. Basically 'm' will work as a select-toggle.
- Hit the usual 'd' key to delete the marked directories/files
With this feature, I can select multiple directories, start the batch deletion and be off to other work in a separate terminal without having to keep on returning to the ncdu terminal just to delete things.
I hope you find this feature worthy enough to implement.
Thanks.
_(Automatically imported from issue 100 of the old bug tracker)_
### Description
**Created**: 2017年06月30日 03:16:32 GMT **by** Kaushal Modi
Hello,
Many times, I need to clean up a directory selectively. I use ncdu to manage disk space where I need to deal with a cleanup of 500+ GB at a time.
At present, I need to wait while the deletion of one directory is happening (which could be couple of minutes), return to the terminal running ncdu, and repeat.
Another wait of course is that I use the new 'b' binding and then do \\rm -rf list/ of/ dirs/.
This feature request is to make multiple directory deletion smoother.
Proposal:<br>
\- Select multiple directories/files using the 'm' key (for marking)<br>
- Hitting 'm' again on a selected directory/file will unselect it. Basically 'm' will work as a select-toggle.<br>
\- Hit the usual 'd' key to delete the marked directories/files
With this feature, I can select multiple directories, start the batch deletion and be off to other work in a separate terminal without having to keep on returning to the ncdu terminal just to delete things.
I hope you find this feature worthy enough to implement.
Thanks.