yulgang
2019-01-15 13:45:37 +08:00
我觉得没必要,不过试用的时候简单记录了一些它扫的那些目录。平时用 appcleaner。
下面的内容只是随手记录 随手记录 随手记录 随手记录,如果你不了解,不要执行下面的命令:
echo “ Homebrew Cache ”
du -sm /Users/ollydbg/Library/Caches/Homebrew
echo "\nSystem Junk"
echo "\nSystem Cache Files"
#
sudo du -sm /Library/Caches/* | sort -n
echo "\nUser Cache Files"
sudo du -sm ~/Library/Caches/* | sort -n
echo "\n\nSystem Log Files"
echo "\nUnified Log"
du -sm /private/var/db/diagnostics
## /private/var/log
echo "\nInstall Log"
du -sm /private/var/log/install.log
echo "\nApple System Log"
du -sm /private/var/log/asl
echo "\nDiagnosticMessages Log"
du -sm /private/var/log/DiagnosticMessages
echo "\nDiagnosticReports Log"
du -sm /Library/Logs/DiagnosticReports
echo "\nTeamViewer Log"
du -sm /Library/Logs/TeamViewer
echo "\nSystem Log"
du -sm /private/var/log/system.log
echo "\nMicrosoft Log"
du -sm /Library/Logs/Microsoft
echo "\nAdobe Log"
du -sm /Library/Logs/Adobe
echo "\nCreativeCloud Log"
du -sm /Library/Logs/CreativeCloud
echo "\nUser Log Files"
# ~/Library/Logs/Homebrew
# ~/Library/Logs/TeamViewer
# ~/Library/Logs/DiscRecording.log
# ~/Library/Logs/PDApp.log
# ~/Library/Logs/CreativeCloud
# ~/Library/Logs/BlueStacks
# ~/Library/Logs/VMware
# ~/Library/Logs/iStat Menus
# ~/Library/Containers/Y93TK974AT.com.bjango.istatmenus.status.mas/Data/Library/Logs/iStat Menus
# ~/Library/Logs/VMware Fusion
# ~/Library/Logs/DiagnosticReports
# ~/Library/Logs/oobelib.log
# ~/Library/Logs/Surge
# ~/Library/Logs/NGLClient_default.log
# ~/Library/Logs/NGLClient_Audition112.0.0.log
# ~/Library/Logs/NGLClient_Dreamweaver119.0.0.11193.log
# ~/Library/Logs/fsck_hfs.log
# ~/Library/Logs/SMSMigrator
# ~/Library/Logs/CoreSimulator
# ~/Library/Logs/NGLClient_Photoshop120.0.log
# ~/Library/Logs/NGLClient_PremierePro113.0.0.log
# ~/Library/Logs/CleanMyMac X Menu
echo "\n\nXcode Junk"
echo "\niOS Device Logs"
# ~/Library/Developer/Xcode/iOS Device Logs