A command to deep clean your Mac

Source: Internet
Author: User
A command to deep clean your Mac

After a period of time, the Mac found that the hard disk space was not enough, and wanted to find some disk cleanup tools, but found that it is actually charged.
Let's do it by hand. The method is really simple.
Just one command,

cd /du|grep'\dG'|sort

He will list all folders over 1G, and then you can analyze them on a case-by-case basis. See which folders should not be that big.

Through this method I found an inexplicable folder, Sunflower Remote Control client's log folder incredibly 30G, completely incomprehensible.
Delete the sunflower directly and remove it.

As for those directories can be deleted, which directories can not be deleted or to be cautious. After one hours of struggle to find back will be nearly 100g of space.

There is a directory I think can be deleted, that is/system/library/assets/com_apple_mobileasset_prefpanes_trackpadmousevideos_17.

Takes up a space of G, which is a bunch of video tutorials that teach you how to use trackpad. '

A command to deep clean your Mac

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.