How to Empty the Trash in OS X If It Contains Locked Files and Folders

How to Empty the Trash in OS X If It Contains Locked Files and Folders

In the event that you have ever attempted to exhaust the waste in OS X and got a messages saying that it has a bolted documents and organizers, at that point you know the inclination that regardless of what you do, you can't take out the garbage. The documents remain behind jumbling up your drive and consuming required space. 

This transpired when I connected an outside drive to my MacBook Pro and it contained a lot of bygone era Machine Backups. I sent them to the Trash however then I was unable to purge them from the waste for reasons unknown. 

I found an answer for this issue and needed to share it. 

Dealing with Locked Files

This really applies to any document that you can't move, open, change or duplicate in Mac OS X. Record sin the garbage may become bolted keeping you from for all time erasing them. 

In case you're attempting to cancel a record, right-snap or Control+click on the document and select Get Info. 

The information window will spring up and you will probably observe a check mark close to the word Locked halfway down the window. 

Uncheck it and close the window. 

Presently you can do whatever you like with the document. 

Dealing with Stubborn Folders

Consider the possibility that you're attempting to expel a constant envelope and get the mistake message that says you can't void the record as a result of a bolted organizer. One of the choices offers to dispose of all the opened substance. Select it and afterward open the Trash to perceive what's left. You will probably observe the bolted envelope or organizers. 

To dispose of the organizer or envelopes, open a Terminal window. I locate the most straightforward path is to press Command+Space to open Spotlight Search box. Type Terminal and hit Enter. 

With terminal open, type the accompanying without hitting the Enter key. Recall to NOT hit the Enter key in the wake of composing the accompanying line into Terminal: 

sudo chflags -R nouchg

Ensure the above line has a space after the keep going 'g' and afterward open your Trash organizer. Drag the culpable organizer into the Terminal toward the stopping point after the space after the 'g' and Terminal will naturally enter the content expected to distinguish envelope's area. 

Hit enter and OS X will do its enchantment on the organizer. 

Presently you can expel the organizer by discharging the Trash. Either pick Finder from the menu and afterward click Empty Trash … . You can likewise utilize the console alternate way Shift+Command+Delete which additionally purges your Trash envelope. 

In the event that you despite everything can't expel the organizer you have something different wrong. The Apple bolster page where I found the above arrangement has a couple of other potential answers you can attempt.

Author Biography.

Editorial Team
Editorial Team

Content Writer

Join Our Newsletter.

Subscribe to CrowdforThink newsletter to get daily update directly deliver into your inbox.

CrowdforJobs is an advanced hiring platform based on artificial intelligence, enabling recruiters to hire top talent effortlessly.


CrowdforApps brings to you the well researched list of the most successful and finest App development companies, Web software developers.


CrowdforGeeks is where lifelong learners come to learn the skills they need, to land the jobs they want, to build the lives they deserve.


CrowdforThink is a leading Indian media and information platform, known for its end-to-end coverage of the Indian startup ecosystem.


News & Blogs


How to Read Tarot Cards: A Beginner's Guide to ...

Reading tarot cards can be done in various ways. Most of the readers even attend tarot reading sc...


How to Update Windows Without the Internet or O...

Staying up with the latest doesn't just spare you from security danger that could degenerate ...


How To: Rebuild Your Laptop’s Battery

On the off chance that you would prefer not to spend a ton of money on another battery, here'...

Top Authors

Hey, I am Suraj - a full-time blogger and a social media expert currently working on the Growth H...

Suraj Kumar

Overall 3+ years of experience as a Full Stack Developer with a demonstrated history of working i...

Lokesh Gupta

With good communication and writing skiils, Astha Sharma is a full-time content writer working wi...

Astha Sharma

Zakariya has recently joined the PakWheels team as a Content Marketing Executive, shortly after g...

Zakariya Usman

Our Client Says

WhatsApp Chat with Our Support Team