[Feature request] XDG-like trash bin #37
Labels
enhancement
New feature or request
verified
Indicates that this issue is verified, so further triage can happen
Milestone
Description
LeoConsole now has a built-in trash command, which moves deleted files into a trash folder. However, this has some disadvantages: e. g. what if multiple files with the same name are deleted? Or if the user decides to restore the file? Or delete files from trash after certain amount of time?
That's why I would suggest a system similar to the XDG trash spec, or even the XDG trash standard itself (then the trash folder has to be
$XDG_DATA_HOME/Trash
) (https://specifications.freedesktop.org/trash-spec/trashspec-latest.html). In short, the trash folder structure then looks like this:The
.trashinfo
files look like this:The text was updated successfully, but these errors were encountered: