How can I permanently delete trashed files in the Yazi file manager?

February 25, 2026 2 answers
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

piano.88keys
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.

ticket booth: I checked both places and it's still missing! Seems odd to have a trash mechanism with no clear access.

Reply to this answer
pace4m45
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.

Related Discussions