16
6
The Mac OS X 10.6 Trash shows an option "Put back" for files that were trashed after installing 10.6. However, it does not show where the file will be put back to.
So: using Finder, is there any way to tell where a trashed item came from?
(I know the original locations are stored in ~/.Trash/.DS_Store
, so if I really need to know where a file came from, then I can figure it out using something like hexdump
.)
1
As an aside: a nice hint on macosxhints.com: 10.6: Set time of deletion for files placed in the Trash, to make it easier to retrieve accidentally-deleted items from the trash at http://www.macosxhints.com/article.php?story=20100121075428946
– Arjan – 2010-01-31T09:12:41.8702
Related: How to determine original location of file that is currently in the Trash? at Apple SE
– kenorb – 2015-05-04T17:24:00.297Out of curiosity: why would you need that? If you know where it was, you can simply put it back, and if not, just drag it out of the trash onto the desktop and move it from there wherever you want it to be. – brandstaetter – 2009-10-23T10:55:10.613
1For example if two different trashed documents/folders have the same name and I want to figure out which item to restore. Or if someone accidentally deletes some settings file, and then some time later I find that unknown item in the Trash. (Of course, system files cannot be deleted without providing an administrator password.) Or if I just see some strange files which make me very curious of where I got those. ;-) – Arjan – 2009-10-23T11:04:11.780
To distinguish between 2 documents, you could use quicklook. – brandstaetter – 2009-10-23T11:08:58.040
Sure, I know all the workarounds. ;-) But now that 10.6 introduced this "Put back", I was hoping for some control over that... – Arjan – 2009-10-23T11:38:40.837
You realize you're talking about the closed Apple ecosystem :) Perhaps we'll see that in 10.6.9 or 10.7 ;) – brandstaetter – 2009-10-23T12:12:26.790
Might be true. Some other things in the Trash are quite, err, odd as well and will see some updates, I assume. Like when selecting "Delete" from the Trash, one actually restores the item... – Arjan – 2009-10-23T12:25:13.580
@brandstaetter: why would you need this? deleting a file on an SD card moves it into hidden trash folder ON THE SD CARD. so then you have to go into the trash to permanently delete those files. But Mac also doesn't let you delete particular files from the Trash so it wouldn't actually help... – Kip – 2014-01-31T01:01:23.853