When I control-click on some files in the trash I see the "Put Back" menu item:

enter image description here

However, on other files I don't see this item:

enter image description here

Why is that?


You only see Put Back if a file/folder was deleted by the Finder, not any other process.

It will silently fail to Put Back if the folder it came from is gone, but it will still offer.

Tested on Mojave.

  • Thanks. It's weird, I suddenly found a couple of those .AAE files in my trash but don't know where they came from. Searching for the file name (eg. "IMG_9082") doesn't reveal anything either. May 17 '21 at 7:42
  • An .AAE might have been discarded by the photo app used to edit the linked image. I tend to work in .NEF photos in Nikon's own software - if I discard images from there, it throws the NEF & the associated .nksc sidecar file in the trash, from where there is no Put Back.
    – Tetsujin
    May 17 '21 at 7:47
  • At some earlier time there were Objective C APIs that did work but they stopped working and Apple haven't fixed them, Apps use these APIs and they just move the file to ~/.Trash without marking them for Put Back (they don't store the info in .DS_Store)
    – mmmmmm
    May 17 '21 at 9:26
  • Thanks @Tetsujin. I was looking through my photos library to find the original images with the same file name, but couldn't find anything that related to these .AAE files. It remains a mystery. May 22 '21 at 5:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .