2
3
Fork
You've already forked ncsu
0

Select multiple directories/files for deletion #97

Open
opened 2019年03月23日 18:03:31 +01:00 by Multi · 0 comments
Multi commented 2019年03月23日 18:03:31 +01:00 (Migrated from code.blicky.net)
Copy link

(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> &nbsp; - 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.
Sign in to join this conversation.
No Branch/Tag specified
zig
zig0.16
master
zig-threaded
openat
chdir
clear
compll
v2.9.3
v2.9.2
v2.9.1
v2.9
v2.8.2
v2.8.1
v2.8
v1.22
v1.21
v2.7
v2.6
v2.5
v1.20
v2.4
v1.19
v2.3
v1.18.1
v2.2.2
v1.18
v2.2.1
v2.2
v1.17
v2.1.2
v2.1.1
v2.1
v2.0.1
v2.0
v2.0-beta3
v2.0-beta2
v2.0-beta1
v1.16
v1.15.1
v1.15
v1.14.2
v1.14.1
v1.14
v1.13
v1.12
v1.11
v1.10
v1.9
v1.8
v1.7
v1.6
v1.5
v1.4
v1.3
v1.2
v1.1
No labels
1.x
2.x
bug
feature
imported
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
selfisekai/ncsu#97
Reference in a new issue
selfisekai/ncsu
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?