In Finder, .Trash does not appear.
But on Terminal, I can see the directory.
I'd like to add Trash on the sidebar.
I have just stumbled upon a simple way to add Trash to the Finder's sidebar in Ventura 13.2.1:
The Finder based view of Trash is only available via the Bin on the Dock, so Finder will not show ~/.Trash
. Essentially this is a design choice by Apple.
~/.Trash
may not be the only Trash folder in the system, and the job of the Bin is to present a consolidated view of all the files that you have permission for, in all the Trashes. This is because it's quite possible for other users to also Trash files on those other volumes, that you are not allowed to access.
Each attached volume will have its own Trash. This can be tested by creating a new APFS volume in the existing container for your system, or connecting an external Volume, copying files to it, and then deleting them with Finder. They'll show up in the Bin, but not in ~/.Trash
. They will however show up with sudo ls -lRa /Volumes/VOL/.Trashes
. You'll see a subfolder under .Trashes
, named for your UID (501
, if you're the only user of the system), which contains the deleted files. So other users would trash files to subfolders for their UID. Again, this is why sudo
would be needed because you are potentially not the only user.
Edit March 23:
Further info, now possible in Ventura (maybe earlier but I can't check) as mentioned in the better answer above, and also in https://apple.stackexchange.com/a/456614/221742