https://github.com/louisxie0830/mac-script-shell
This repository contains a collection of shell scripts to optimize and maintain your macOS system. These scripts help in cleaning caches, updating Homebrew, optimizing memory, and more.
https://github.com/louisxie0830/mac-script-shell
macos shell-script
Last synced: 2 months ago
JSON representation
This repository contains a collection of shell scripts to optimize and maintain your macOS system. These scripts help in cleaning caches, updating Homebrew, optimizing memory, and more.
- Host: GitHub
- URL: https://github.com/louisxie0830/mac-script-shell
- Owner: louisxie0830
- License: mit
- Created: 2024-06-24T15:57:49.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T10:48:24.000Z (almost 2 years ago)
- Last Synced: 2024-12-30T20:48:30.062Z (over 1 year ago)
- Topics: macos, shell-script
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mac-script-shell
This repository contains a collection of shell scripts to optimize and maintain your macOS system. These scripts help in cleaning caches, updating Homebrew, optimizing memory, and more.
## Scripts
1. **delete_docker_cache.sh**: Cleans up Docker system caches and unused data.
2. **delete_node_modules.sh**: Deletes all `node_modules` folders in the specified directory.
3. **homebrew-update.sh**: Updates Homebrew and cleans up outdated packages.
4. **optimizing_memory.sh**: Purges inactive memory to optimize system performance.
5. **refresh-launch.sh**: Refreshes the macOS launch services database.
6. **system-info.sh**: Displays detailed system information.
## Usage
1. Clone the repository:
```sh
git clone https://github.com/louisxie0830/mac-script-shell.git
cd mac-script-shell
```
2. Make the desired script executable and run it:
```sh
chmod +x script_name.sh
./script_name.sh
```
Replace `script_name.sh` with the name of the script you want to run.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.