Skip to content

Shellingfordh/autocleanmac

Repository files navigation

🚀 macOS One-Click Cleanup Scripts | Free Disk Space, Clear Cache & WeChat Junk Files

English Version

Overview

These macOS cleanup scripts help you free up disk space, optimize Mac performance, and clean app junk files efficiently. They remove browser caches, system caches, temporary files, logs, duplicate WeChat/QQ photos, and app-specific temp files (WPS, Office, Adobe) without affecting your login sessions, bookmarks, or important data. Perfect for Safari, Chrome, Edge, Firefox, Tor Browser, and WeChat/QQ users frustrated by duplicate files and photos saved in multiple paths.

Features

  • 🧹 One-click cleaning for all major browsers, system, and app caches
  • 🗂️ Preserves login sessions, bookmarks, extensions, and app data
  • Safe and fast, works on zsh and bash
  • 🔍 Supports Safari, Chrome, Edge, Firefox, Tor Browser, WeChat, QQ, WPS/Office, Adobe apps
  • 💾 Clears system caches, logs, app temp files, duplicate WeChat/QQ images, Adobe temp files
  • 📊 Helps recover disk space and speed up Mac
  • 😫 Addresses user pain points: duplicate WeChat/QQ images, repeated downloads, app update pop-ups, Photoshop/AE temp files, slow boot

Scripts Included

  1. cleanup_browsers.sh – clean browser caches (Safari, Chrome, Edge, Firefox, Tor)
  2. cleanup_system.sh – clean system caches, logs, temp files, startup cache
  3. cleanup_wechat.sh – remove WeChat duplicate files, thumbnails, and cache
  4. cleanup_apps.sh – clean WPS/Office updates, caches, and Adobe temp files
  5. optimize_mac.sh – optimize Mac performance:
    • Startup Cache: cleans user and system startup caches to resolve slow logins and boot-up lags
    • System Cache: cleans /Library/Caches and ~/Library/Caches to free disk space
    • High-Usage Processes: lists top 10 CPU/memory-consuming processes for manual management

Usage

  1. Download the scripts:
curl -O https://your-repo-url/cleanup_browsers.sh
curl -O https://your-repo-url/cleanup_system.sh
curl -O https://your-repo-url/cleanup_wechat.sh
curl -O https://your-repo-url/cleanup_apps.sh
curl -O https://your-repo-url/optimize_mac.sh
  1. Make them executable:
chmod +x cleanup_browsers.sh cleanup_system.sh cleanup_wechat.sh cleanup_apps.sh optimize_mac.sh
  1. Run the scripts:
./cleanup_browsers.sh
./cleanup_system.sh
./cleanup_wechat.sh
./cleanup_apps.sh
./optimize_mac.sh

Benefits

  • Free up gigabytes of disk space used by caches, temp files, and duplicate photos
  • Reduce slow Mac performance caused by system and app temp files
  • Keep your login sessions, bookmarks, and app data intact
  • Solve WeChat/QQ duplicate file headache: repeated images and photos across multiple folders
  • Manage all browser, system, WeChat/QQ, WPS/Office, Adobe caches in one set of scripts
  • Optimize Mac boot and login speed, monitor high CPU/memory processes

SEO Keywords

macOS cleanup, free Mac space, clear cache Mac, delete Mac junk, WeChat duplicate files, QQ duplicate files, clean Mac system, Mac optimization script, Safari cache clear, Chrome cache clear, Edge cache clear, Firefox cache clear, Tor Browser cleanup, WPS cache clear, Office cache clear, Adobe temp files clear, WeChat cache clear, QQ cache clear, Mac startup optimization, high CPU processes Mac


中文版

概述

这些 macOS 一键清理脚本 可以帮助你 释放磁盘空间优化 Mac 性能,高效 清理系统和应用缓存。脚本会清理 浏览器缓存、系统缓存、临时文件、日志、微信/QQ重复照片、WPS/Office缓存、Adobe临时文件,同时 保留登录状态、书签和重要数据。完美适用于 Safari、Chrome、Edge、Firefox、Tor 浏览器微信/QQ用户,解决重复文件分散多个路径的问题,同时优化开机和登录速度。

功能特点

  • 🧹 一键清理 浏览器缓存、系统缓存和应用缓存
  • 🗂️ 保留登录状态、书签、插件和应用数据
  • 安全快速,支持 zsh 和 bash
  • 🔍 支持 Safari、Chrome、Edge、Firefox、Tor、微信、QQ、WPS/Office、Adobe 系列
  • 💾 清理系统缓存、日志、应用临时文件、微信/QQ重复文件、Adobe 临时文件
  • 📊 释放磁盘空间,加快 Mac 速度
  • 😫 解决用户痛点:微信/QQ重复图片、重复下载、应用更新弹窗、Adobe 临时文件占空间、登录慢、开机卡顿

包含脚本

  1. cleanup_browsers.sh – 清理浏览器缓存(Safari、Chrome、Edge、Firefox、Tor)

  2. cleanup_system.sh – 清理系统缓存、日志、临时文件、启动缓存

  3. cleanup_wechat.sh – 删除微信重复文件、缩略图和缓存

  4. cleanup_apps.sh – 清理 WPS/Office/微信/QQ 更新和缓存,Adobe 临时文件

  5. optimize_mac.sh – Mac 性能优化:

    • 启动项缓存:清理用户和系统启动项缓存,解决登录慢、开机卡顿
    • 系统缓存:清理 /Library/Caches~/Library/Caches 下缓存,释放磁盘空间
    • 高占用进程:列出 CPU 和内存占用最高的前 10 个进程,方便用户手动处理

使用方法

  1. 下载脚本:
curl -O https://your-repo-url/cleanup_browsers.sh
curl -O https://your-repo-url/cleanup_system.sh
curl -O https://your-repo-url/cleanup_wechat.sh
curl -O https://your-repo-url/cleanup_apps.sh
curl -O https://your-repo-url/optimize_mac.sh
  1. 添加可执行权限:
chmod +x cleanup_browsers.sh cleanup_system.sh cleanup_wechat.sh cleanup_apps.sh optimize_mac.sh
  1. 执行脚本:
./cleanup_browsers.sh
./cleanup_system.sh
./cleanup_wechat.sh
./cleanup_apps.sh
./optimize_mac.sh

优势

  • 释放 占用数 GB 的缓存、临时文件和重复照片空间
  • 减少 系统和应用临时文件导致的 Mac 卡顿
  • 保留登录状态、书签和应用数据
  • 解决 微信/QQ重复文件困扰:多路径重复图片和照片
  • 一套脚本管理 浏览器缓存、系统垃圾、微信/QQ重复文件、WPS/Office缓存、Adobe临时文件
  • 优化开机和登录速度,监控高 CPU/内存进程

搜索关键词

macOS 清理, Mac 磁盘清理, 清理 Mac 缓存, 删除 Mac 垃圾, 微信重复文件清理, QQ重复文件清理, 清理系统缓存, Mac优化脚本, Safari缓存清理, Chrome缓存清理, Edge缓存清理, Firefox缓存清理, Tor浏览器清理, 微信缓存清理, QQ缓存清理, WPS缓存清理, Office缓存清理, Adobe临时文件清理, Mac启动项优化, 高占用进程清理

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages