Sample Header Ad - 728x90

How lookup deletion date of files in Trash from command line

0 votes
1 answer
1179 views
I want to restore I file I deleted accidentally. I cannot go to the trash/wastebasket folder and simply restore the file, because I've no idea what the file was. I deleted it by accidentally pressing the delete key while the screen focus was on a Thunar window. (This is a particular hazard when you have a mechanical keyboard and human fingers). Thunar does not show deleted dates, so it is not possible to simply sort the files in the trash/wastebasket folder. But if I right-click on a deleted file in the wastebasket, and look at files properties, I see that files in the wastebasket do have a "Deleted" date property. How do I list the files by deleted date in a terminal. And how do I open the wastebasket folder in a terminal? And if the wastebasket folder is virtual, and the file properties given a deleted date stored in some other place, where is that place and how do I query it? (I see that if I look in ~/.local/share/Trash/files/, it looks like the same files as are in the wastebasket that you navigate to from the Thunar side-panel icon. But the files in ~/.local/share/Trash/files/ do not have "Deleted" date as an attribute when you right-click to see their properties).
Asked by markling (231 rep)
May 24, 2022, 11:15 PM
Last activity: May 25, 2022, 09:27 AM