How can I permanently delete trashed files in the Yazi file manager?
Asked by
loom tension help
I really enjoy using the Yazi file manager, but I accidentally trashed a file instead of permanently deleting it, and now I'm unsure where that trashed file ended up or how to empty the trash. I read the manual, and it explains that using a lowercase 'd' sends files to the trash while an uppercase 'D' would delete them permanently, but it doesn't provide any details about managing the trash feature. I found a recycle bin plugin online, but I don't have it installed, and it seems strange that a program would allow me to trash files without specifying where they go. I've already checked the ~/.local/share/Trash directory and can't find the file there or in any other file manager's trash.
Answers
The trashed files in Yazi should typically end up in ~/.local/share/Trash. If your file isnโt showing up there, make sure youโre checking the right location. Also, if the file was on a separate partition, you might want to look in the .Trash-$UID directory instead.
Reply to this answer
Some file managers have specific ways of handling trashed files. If you canโt find it in the usual directories, you might want to see if there's a dedicated recycle bin plugin for Yazi that needs to be installed for better file recovery options.
Reply to this answer
Add your answer
Answers are reviewed before publication.
ticket booth: I checked both places and it's still missing! Seems odd to have a trash mechanism with no clear access.