Open imsnif opened 4 years ago
Another option is to not delete it from the UI and just color code it some how. When ready, you can execute the transaction.
Color coding it is interesting... how would you go about color coding all the parent folders though?
One color for the actual files and folders to delete (red?) and color code with another the folders impacted up the tree (purple?)
I think we can start with a transactional delete and then see where the usability takes us regarding colors and such.
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.
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.