Theodore Baschak

BOFH. Open Source Guru. Founder/Operator of Hextet Systems, AS395089 and Network Architect for Daemon Defense Systems, AS55101.

Removing Stubborn Trash Items

Fri, 12 Jun 2015 00:31:06 -0500 » CLI, Nerd Projects, System Administration, Troubleshooting, OS X

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 - https://github.com/tbaschak - Powered by Jekyll.
Powered by Les.net.
CiscoDude.net is a personal website. Opinions expressed are not necessarily those of his employer.