Skip to content
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: transactional delete #6

Open
imsnif opened this issue Jun 17, 2020 · 5 comments
Open

Feature: transactional delete #6

imsnif opened this issue Jun 17, 2020 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@imsnif
Copy link
Owner

imsnif commented Jun 17, 2020

This feature would allow the user to do a "soft delete". Meaning they would mark a file for deletion, it would disappear from the UI but will not actually be deleted from the filesystem.

When the user exits the app, the app should give a list of these files marked for deletion and ask the user if they want to delete them.

Optionally, a "delete marked files" shortcut can also be added.

@imsnif imsnif added the help wanted Extra attention is needed label Jun 17, 2020
@qballer
Copy link

qballer commented Jun 18, 2020

Another option is to not delete it from the UI and just color code it some how. When ready, you can execute the transaction.

@imsnif
Copy link
Owner Author

imsnif commented Jun 19, 2020

Color coding it is interesting... how would you go about color coding all the parent folders though?

@qballer
Copy link

qballer commented Jun 19, 2020

One color for the actual files and folders to delete (red?) and color code with another the folders impacted up the tree (purple?)

@imsnif
Copy link
Owner Author

imsnif commented Jun 21, 2020

I think we can start with a transactional delete and then see where the usability takes us regarding colors and such.

@kevin-stuart
Copy link

Maybe a mode that does not delete at all wout be the smartest thing, diskonaut then only only counts the size in the session, and exiting it outputs the list of files. This could then be piped into another script that does deletion or other things like moving/archiving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants