Nerd blog.

12 Jun 2015

Removing Stubborn Trash Items

For one reason or another, I recently ended up with a draft blog post stuck in my OS X Yosemite Trash. I have no idea how this happened, but after reading 5 or 6 blogs and forum posts I was thoroughly frustrated with trying to find “the Mac Way”, and fired up the CLI:

cd ~/.Trash
sudo chflags -R nouchg <filename>
sudo rm -f <filename>
echo w00t

Sometimes it is just best to follow your gut, in this case just using the CLI to resolve the issue.

Theodore Baschak - Theo is a network engineer with experience operating core internet technologies like HTTP, HTTPS and DNS. He has extensive experience running service provider networks with OSPF, MPLS, and BGP.