YouTube Icon

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.


CrowdforThink is the leading Indian media platform, known for its end-to-end coverage of the Indian startups through news, reports, technology and inspiring stories of startup founders, entrepreneurs, investors, influencers and analysis of the startup eco-system, mobile app developers and more dedicated to promote the startup ecosystem.

Join Our Newsletter.

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

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.


Our mission is "Har Koi Dekhe Video, Har Ghar Dekhe Video, Ghar Ghar Dekhe Video" so we Provide videos related to Tutorials, Travel, Technology, Wedding, Cooking, Dance, Festivals, Celebration.

Apna Video Wala

News & Blogs


How Web-Based CRM Software Can Boost Sales and ...

In today's fast-paced business landscape, the role of Customer Relationship Management (CRM) ...


How to Troubleshoot Sound Problems in Windows

Sound is a significant piece of utilizing your PC. We utilize our journals to tune in to music, t...


How to Install Microsoft Office 2010 SP1

Microsoft has delivered the primary Service Pack support update for its Office efficiency suite, ...

Top Authors

Lamia Rochdi is the Marketing Manager at Bell Flavors & Fragrances EMEA. A successful family-...

Lamia Rochdi

I’m Mertin Wilson a technician in a camera company and certified expert of different P...

Mertin Wilson

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

Zakariya Usman

Pankaj Singh is a Senior Digital Marketing Consultant with more than 2 years of experience in SEO...

Pankaj Singh

Our Client Says

WhatsApp Chat with Our Support Team