-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Can I delete files within duc ui
?
#194
Comments
Quoting NightMachinary (2018-05-24 17:03:13)
It would be very convenient to just press, say, 'd' and get the offending files/directories deleted, and the database updated.
It would, but the implementation would be kind of hairy, since building
the index is a recursive operation and modifications would require
recalculation of all te parent directories. I'm afraid this is not a
feature that is eaisily added...
…--
:wq
^X^Cy^K^X^C^C^C^C
|
@zevv Would it be easier if |
I'm sorry, but I decided not to put this in for various reasons. One is stated above (hairy implementation), and the other is that Duc should be a non-intrusive tool that you can trust never to touch your data. We index and display file systems, but never modify. Closing this issue, sorry I couldn't help you out! |
Perhaps a compromise can be found here: You could have a button that, when pressed, copies the currently selected file's path into your clipboard. Then deleting something would be merely a matter of |
>>>> "Gurkenglas" == Gurkenglas ***@***.***> writes:
Gurkenglas> Perhaps a compromise can be found here: You could have a
Gurkenglas> button that, when pressed, copies the currently selected
Gurkenglas> file's path into your clipboard. Then deleting something
Gurkenglas> would be merely a matter of <copy><Ctrl-Z>rm -rf<Ctrl-V>
Gurkenglas> && fg<Enter>, which one could bind to a macro if one were
Gurkenglas> so insane.
Patches gratefully discussed if proposed. But again, duc is not meant
to be an interactive tool in terms of file deletions, but an
exploration tool to examine *large* volumes/filesystems.
Again, if you step up with a patch (and test cases!!!) we will look
them over and decide if we want to integrate it or not.
John
|
It would be very convenient to just press, say, 'd' and get the offending files/directories deleted, and the database updated.
The text was updated successfully, but these errors were encountered: