How is Cmd + Delete both the send-to and restore-from-Trash shortcut?

Five years into using Mac products, I’ve picked up the shortcuts, the command line quirks, and embraced the quirks along with the features. But today? Today I learned that hitting Cmd + Delete in the Trash (the very same keyboard shortcut that sends files to the Trash) ... instead restores them. Hundreds, or maybe thousands of them. Instantly and without warning. Deep in nested folders, across multiple drives!!


No prompt. No warning. Just “poof” – digital trash exploded! Banana peel? Back on the counter. Coffee filter complete with grinds? Neatly placed right back into the coffee maker.


Is this a bug? A feature? Performance art?


But seriously, if this is a prank, I'm not even mad, I'm impressed. Apple, you got me good.


Anyway, the question: Why the in the heck is the same keyboard shortcut default assigned to both “goodbye forever” and “welcome home”? Is there a way to change or disable this? Or is this shortcut seriously going to be canon forever?

MacBook Pro 16″, macOS 15.5

Posted on Jun 5, 2025 4:37 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 6, 2025 12:13 PM

It seems to me that if a user deletes a file, by dragging it to the Trash or other action that results in its deletion, then that's what the user wanted to do, and anything any operating system may do to hinder or otherwise register disagreement with that user's intent would be poor UI.


If that user subsequently wanted to undo that formerly intended action with File > Put Back, or other action that results in it being put back (instantly and without warning) then it would also be poor UI to second-guess that intent. It begs the question, what else would the user want to do, if not Put It Back. Personally I would consider such a warning to be intrusive and unwelcome, especially in light of the fact ⌘ z is the near-universal instant remedy for "oops".


This has been the way since the inception of macOS, including its predecessors, a fundamental human interface characteristic that goes back way before the 1990s. It is an elegant implementation that also happens to make perfect sense to me, but if you don't like the way it works you can always express your displeasure by using some other operating system.


It may also interest you to know that you can configure the Trash to automatically delete items that have been in the Trash for more than 30 days: Change Storage settings on Mac - Apple Support. That way, you can put items in the Trash and forget about them. Should you change your mind you have 30 days to un-delete them. There is no shortcut for "Delete Immediately" because that is one of the few macOS actions not un-doable — with a confirmation dialog / "warning" to drive home the point. After that, the only remaining "undo" is Time Machine.


There are questions from desperate users every day regarding how to recover from the effect of prematurely emptying the Trash. It's disheartening to have to inform them TM is their only recourse, and to learn they didn't take the simple step of turning it on.

12 replies
Question marked as Top-ranking reply

Jun 6, 2025 12:13 PM in response to No-Kings

It seems to me that if a user deletes a file, by dragging it to the Trash or other action that results in its deletion, then that's what the user wanted to do, and anything any operating system may do to hinder or otherwise register disagreement with that user's intent would be poor UI.


If that user subsequently wanted to undo that formerly intended action with File > Put Back, or other action that results in it being put back (instantly and without warning) then it would also be poor UI to second-guess that intent. It begs the question, what else would the user want to do, if not Put It Back. Personally I would consider such a warning to be intrusive and unwelcome, especially in light of the fact ⌘ z is the near-universal instant remedy for "oops".


This has been the way since the inception of macOS, including its predecessors, a fundamental human interface characteristic that goes back way before the 1990s. It is an elegant implementation that also happens to make perfect sense to me, but if you don't like the way it works you can always express your displeasure by using some other operating system.


It may also interest you to know that you can configure the Trash to automatically delete items that have been in the Trash for more than 30 days: Change Storage settings on Mac - Apple Support. That way, you can put items in the Trash and forget about them. Should you change your mind you have 30 days to un-delete them. There is no shortcut for "Delete Immediately" because that is one of the few macOS actions not un-doable — with a confirmation dialog / "warning" to drive home the point. After that, the only remaining "undo" is Time Machine.


There are questions from desperate users every day regarding how to recover from the effect of prematurely emptying the Trash. It's disheartening to have to inform them TM is their only recourse, and to learn they didn't take the simple step of turning it on.

Jun 9, 2025 5:57 PM in response to No-Kings

Not my experience - and just retested on the Catalina laptop I had handy to test on...


Yes, Cmd-Del both trashes and un-trashes files - but only if those files are currently selected. I'm not sure how you could be in the trash and hit Cmd-Del to put back anything (let alone everything) if the files weren't selected.


Also, duplicate named files will cause Finder to choke and only put back the last one trashed (which would have a format <file name><date time group> - but that's a minor thing.


I have to assume you were in the trash and hit Cmd-a, Cmd-Del, instead of the "Empty trash" button in the top-right? That is a bit Alanis Morrisette ironic - so sympathy.

Jun 6, 2025 10:49 AM in response to leroydouglas

The keyboard shortcut for putting files in the trash is to select them and press ⌘+del.


Once those files are in the trash, if you select them and press ⌘+del, those files will be restored, not deleted!


In Windows, if you select a file and press delete, it sends it to the trash. If you open your trash, select it, and press delete, that deletes them permanently - after a confirmation dialog! I guess there is a difference of opinion on this forum, but I continue to be unpersuaded that when I press command + delete that the computer should do the exact opposite of deleting the files.


I will add— Command Z typically un does the last command...to reverse the mess.


Yes, I am quite aware of ⌘ z! But the file restoration happens instantly and without any indication that the files were restored." Even a user who is alert would have no indication that the trash was not 'emptied' but rather 'strewn around the room,' with all the junk files returned to their respective nested folders and drives. Most users would only notice after several minutes, or perhaps hours/days, when it would clearly be too late to press ⌘ z.


Jun 5, 2025 4:55 PM in response to No-Kings

No-Kings wrote:

Five years into using Mac products, I’ve picked up the shortcuts, the command line quirks, and embraced the quirks along with the features. But today? Today I learned that hitting Cmd + Delete in the Trash (the very same keyboard shortcut that sends files to the Trash) ... instead restores them. Hundreds, or maybe thousands of them. Instantly and without warning. Deep in nested folders, across multiple drives!!

No prompt. No warning. Just “poof” – digital trash exploded! Banana peel? Back on the counter. Coffee filter complete with grinds? Neatly placed right back into the coffee maker.

Is this a bug? A feature? Performance art?

But seriously, if this is a prank, I'm not even mad, I'm impressed. Apple, you got me good.

Anyway, the question: Why the in the heck is the same keyboard shortcut default assigned to both “goodbye forever” and “welcome home”? Is there a way to change or disable this? Or is this shortcut seriously going to be canon forever?


Never heard this before....


To Put back from the trash typically you have to Control click on the item and use the "Put Back"


I see no keyboard short cut for that feature(?)





could possibly be some third party interference...your guess is as good as mine...


or Command A to select all in the trash and you hit the wrong option?


I did not have the nevre to try your scenario :

"hitting Cmd + Delete in the Trash (the very same keyboard shortcut that sends files to the Trash) ... instead restores them"


if this is repeatable(?)

—To be proactive you can file a bug report / submit your Apple Feedback here: Product Feedback - Apple



I will add— Command Z typically un does the last command...to reverse the mess.


Jun 6, 2025 10:32 AM in response to John Galt

I appreciate the snark, (no sarcasm, snark is my thing too!) but you seem to be missing the rather obvious implications of "it happens instantly and without warning." Even a user who is alert would have no indication that the trash was not 'emptied' but rather 'strewn around the room,' with all the junk files returned to their respective nested folders and drives. And by the time this is noticed, it is clearly too late to press ⌘ z.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How is Cmd + Delete both the send-to and restore-from-Trash shortcut?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.