Skip to content
Dark terminal card headed Exit 0, files still there, showing rm -rf on a wildcard returning exit status 0 while a following ls -a still lists .hidden.txt and .hiddendir, with labels reading the asterisk never matches a leading dot and use ~/.Trash/ rather than ~/.Trash/*

How to Force Empty the Trash on a Mac

Empty Trash gets most of the way through and then stops on one item, or the Trash refuses to empty at all. There are three causes worth knowing apart, because each has a different fix:…