At the moment I’ve got 1,303 items in the trash bin in my OS X Dock — not that much compared to the usual pile that accumulates there when my normal maintenance has me only cleaning it out once every couple of months. Usually, it’s not a problem. Occasionally, though, I’ll throw something away by mistake, at which point I’m reminded that you can’t just click on the bin and search through the trash like you can with other folders in your Dock.
It may sound like a small annoyance, but if I’m digging through the trash, it’s because I really need to find that thing I tossed out. Without a chance to search for it I’m left with no other option but to browse through a pile of files that typically number in the thousands. All this turns a small annoyance into a rather large one. There’s got to be a better way to deal with all this Trash.
Ordinarily when searching for files in the Finder you can choose to limit the scope of your search to the current folder by selecting it from the search bar. This is a big help when you know the file you want is somewhere in this folder, but you’re not entirely sure what its name is.
But trying this approach after clicking on the trash icon leaves you searching the entire system with no way to limit your scope. I suppose I could just do a better job regularly taking out the trash — this would leave me with fewer files to browse through when the time comes — but I know myself and that’s just not going to happen. Another option would be to write a script to handle trash maintenance, but that might just make a bad problem worse if my script gets rid of something I accidentally threw away before I have a chance to retrieve it.
The best solution, it seems, is also the easiest one. I use “Go To Folder” in the finder to navigate to the otherwise hidden trash directory at
~/.Trash and drag that folder into the Dock. Now when I accidentally throw something away I won’t have to browse through thousands of items looking for the lone needle in the haystack. I can just use .Trash to limit my search scope as I would with any other directory in the system.