brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Put Back in the Finder Trash returns a file to the folder it came from

Finder
~/tips/tip-finder-put-back-trash

click the Trash in the Dock

Undo a deletion and send the item straight back to its original folder.

Dragging a file out of the Trash works, but then you have to remember where it was. Finder remembers for you.

Open the Trash from the Dock, select the item and choose File > Put Back. Apple’s guide lists it as the way to change your mind before you empty the Trash.

click the Trash in the Dock
select the item(s)
File > Put Back
Command-Z            undo a delete you just made in Finder

The file goes back to the exact folder it came from, with its name intact. You can select several items at once and they each go home.

Right after deleting, I’d reach for Command-Z, which is even quicker: in Finder it undoes the last move to the Trash. Put Back is for when you notice the mistake later, after you’ve done other things.

An example: you cleaned up Downloads with Command-Delete and an hour later need one installer back. Open the Trash, sort by Date Added, select it, Put Back.

It only works while the item is still in the Trash. Apple’s warning is clear: anything emptied from the Trash is permanently deleted. Items from iCloud Drive are removed automatically after 30 days whatever your settings are, and if you turned on automatic removal after 30 days for the rest, the same clock applies. Dragging the file out of the Trash still works too, if you’d rather put it somewhere new.

Further reading: Delete files and folders on Mac (Apple), Mac keyboard shortcuts (Apple Support)

More Finder tips Option-Command-Y Quick Actions in the Finder preview pane rotate images and make PDFs Shift-Command-P show or hide the Preview pane Command-Up Arrow open the enclosing folder Use as Defaults every folder that uses this view All Finder tips (37) All topics

Link