Skip to content

How To Blog

how to

  • How To Cut Out An Object In An Image In Photoshop CC How-To
  • free online virus scan and removal no download

    8 Best Free Online Virus Scan And Removal Sites

  • How to Create a Multi-Page PDF in Photoshop Computer Tips
  • How to Add Dropbox in Chromebook File Manager How-To
  • Linux Live USB Creator Lets You Create Linux OS’ On The Fly Linux Tips
  • 5 Best GBA Emulators for PC Retro Gaming 2022 Gaming
  • Cheaper Geek Squad alternatives to fix your PC Computer Tips
  • The Most Common Windows 10 Error Messages & How To Fix Them Windows 10

Quickly Empty the Trash in OS X using Terminal

Posted on October 6, 2020 By blog_786 No Comments on Quickly Empty the Trash in OS X using Terminal

For some reason, emptying the Trash in OS X has always been a slow process, especially if you have a lot of files in there. I filled a huge folder with over 10,000 items and it took me a whopping 30 minutes to throw it away!

There is nothing you can do about it, since this is how the operating system works, but if you know how to use the Terminal and are not afraid of it, you can speed up the process.

The first thing you can do is make sure you don’t delete your Trash securely. This is an option in OS X that will completely overwrite the data that was stored where these deleted files were.

Essentially, it ensures that no data can be recovered once it is deleted. Most people won’t want this unless they store top-secret information that they would not want anyone to see even after the data is deleted.

Go to Finder, then click Preferences and then click Advanced.

Make sure the Safely empty trash bin is not checked. If you checked this for any reason, it would take much longer to empty the trash. If this box is not checked and emptying the Trash is still slow, you can empty the Trash using Terminal.

Note. The Safe Empty Trash option has been removed from OS X El Capitan and likely all future versions of OS X.

Empty Trash using Terminal

Open Terminal by going to Applications, Utilities and Terminal and enter the following command:

rm -rf ~ / .Trash / *

Make sure you type exactly as shown above, without extra spaces or anything else. Using this command incorrectly can delete files and folders that you did not intend to delete.

Emptying the trash can using the Terminal is significantly faster than the traditional method of using the graphical interface. In most cases, it probably isn’t worth going into Terminal, but if you have a huge amount of data you’ve just deleted it might be worth the extra effort to save time.

Please note that using this command in the terminal does not delete the trash from external hard drives or other partitions, but only local files on your Mac.

If this command does not work for you and the recycle bin is not emptied, you may have to run the command as sudo. To do this, just add sudo in front:

sudo rm -rf ~ / .Trash / *

When you use the sudo command, you will need to enter the password for the account in order for the task to complete. Therefore, if the trash cannot be deleted or you get an error when you try to empty the trash, you can try this method to fix the problem.

Quickly Empty the Trash in OS X using Terminal

This is it! If you have problems / issues emptying the Trash in OS X Lion or have any other thoughts, write a comment here and let us know! Enjoy!

–

Mac OS X

Post navigation

Previous Post: iPad 2 – Cannot Connect to WPA2-PSK AES Encrypted Wi-Fi Network?
Next Post: Setup a Second Wireless Router on Your Home Network

Related Posts

  • Fix “Cannot Install the Software for Printer” on OS X Mac OS X
  • How to Use Windows 7 with Boot Camp Mac OS X
  • How to Install Mac OS X using VMware Fusion Mac OS X
  • How to Burn an ISO File using Mac OS X Mac OS X
  • Install, Boot, and Run Mac OS X From an External Hard Drive Mac OS X
  • Fix “Security Code Invalid” Error in iTunes Mac OS X

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Amazon Web Services
  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • Linux
  • Linux Tips
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Wordpress
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • March 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018

2021 Android ) Apple apps Best black browser change Chrome Closing words Concluding remarks Conclusion Delete Download Error Facebook Files Find Free) From games Google Instagram Mac make Music Netflix ( online Open Packaging Password phone? Screen sites Tips using Video Videos Watch Websites What With Working? your YouTube

  • How To Download Vimeo Videos From the Mobile App? Computer Tips
  • Use Reliability Monitor to Check Windows Stability How-To
  • pakistani passport renewal in dubai fees

    pakistani passport renewal in dubai fees. Requirement for MRP Computerised National Identity Card (CNIC)/NICOP/Smart-Card or Children Registration Certificate (Form”B”) Original Bank Challan of Rs.3000/- for Normal & Rs.5000/- for Urgent processing for 5 years validity passport & Rs.5400/- for Normal & Rs.9000/- for Urgent processing of 10 years validity passport Children under 15 years of...<p class="more-link-wrap"><a href="https://blog.pkrtousd.gb.net/pakistani-passport-renewal-in-dubai-fees/" class="more-link">Read More<span class="screen-reader-text"> “pakistani passport renewal in dubai fees”</span> »</a></p>

  • what does gg mean in gaming Gaming
  • Best texas instruments baii plus calculator 2020 D
  • How do I fix Windows activation error? Windows
  • How To Search In Excel Office Tips
  • how to check to duplicate a page in WordPress Wordpress

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version