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