I'm interested in viewing the items in sorting the items in my trash folder by date deleted. I'm tired of waiting for Ubuntu to do this, and it seems like a simple enough task, so I'm wondering if there's any way to do it with a Nautilus script or extension.
1. Has someone already written a script/extension to do this?
2. Assuming no one has done so, will it be difficult to create one?
I was unable to find any scripts or extensions for nautilus that would do what I want, so I'm going to assume one has not been written. I have a decent amount of experience in C++ and have written quite a few Perl scripts, so I figure I might be able to do this with some help.
I can't imagine this being too difficult, because in the folder ~/.local/share/Trash/info/ there are data for each file in the Trash folder with the contents:
Essentially all the script would have to do is create a hash of the filenames and deletion dates, sort them by deletion date, then output the filenames in the correct order. The problem is that I don't have any idea how to tell nautilus to arrange the files once I have the filenames in the correct order. Am I going about this the wrong way? Thanks for any help!Code:[Trash Info] Path=/path/where/file/was/located/when/deleted/file.ext DeletionDate=YYYY-MM-DDTHH:MM:SS
Bookmarks