1

Trashed files are stored in the FreeDesktop standard location: ~/.local/share/Trash/files. How do I restore or permanently delete files in that folder using dired?

  • I use the following two settings to control placing deleted files in a specific location: (setq delete-by-moving-to-trash t) (setq trash-directory "~/.Trash") To my knowledge, Emacs doesn't keep track of files that are trashed for purposes of restoration. OSX has built-in support to restore from Finder.app. The following link is to a library that deals with OSX related trash: github.com/lunaryorn/osx-trash.el – lawlist Aug 22 '16 at 14:43
  • Is it possible to read system files (app datas like pcmanfm) for the tracking information? – godblessfq Aug 24 '16 at 1:38
  • This might answer to your request ;-) github.com/shingo256/trashed – Shingo Tanaka Nov 8 at 13:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.