Author Topic: disk cleanup on mac os with mac-cleanup  (Read 1482 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2140
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
disk cleanup on mac os with mac-cleanup
« on: เมษายน 13, 2023, 04:48:57 PM »
เราสามารถทำ clear พวกไฟล์ขยะใน mac os เพื่อเอาพื้นที่ใช้งานกลับคืนมาได้ ผ่าน command mac-cleanup นะครับ แต่ถ้ายังไม่มี ก็ brew มาได้เลย
$brew tap fwartner/tap
$brew tap fwartner/tap/mac-cleanup
$mac-cleanup

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2140
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
Re: disk cleanup on mac os with mac-cleanup
« Reply #1 on: เมษายน 13, 2023, 04:57:59 PM »
==== result =====
Emptying the Trash 🗑 on all mounted volumes and the main HDD...
Clearing System Cache Files...
Clearing System Log Files...
Clearing Google Chrome Cache Files...
Cleaning up iOS Applications...
Removing iOS Device Backups...
Cleaning up XCode Derived Data and Archives...
Cleaning up iOS Simulators...
Clearing Bash/ZSH history...
Cleaning up Homebrew Cache...
/Users/watthanachaikekhua2/Library/Caches/Homebrew/.cleaned
/Users/wat/Library/Caches/Homebrew/api/formula.jws.json
/Users/wat/Library/Caches/Homebrew/api/formula_names.txt
/Users/wat/Library/Caches/Homebrew/api/formula_aliases.txt
/Users/wat/Library/Caches/Homebrew/api
/Users/wat/Library/Caches/Homebrew
Cleaning up any old versions of gems
Cleaning up npm cache...
Cleaning up DNS cache...
Purging inactive memory...
Success!
160.54 MiB of space was cleaned up