Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/divspace/upclean
๐งผ An update and cleanup script for macOS
https://github.com/divspace/upclean
bash clean cleaner cleanup cleanup-script mac macos update update-script update-service updater updater-script
Last synced: 1 day ago
JSON representation
๐งผ An update and cleanup script for macOS
- Host: GitHub
- URL: https://github.com/divspace/upclean
- Owner: divspace
- License: mit
- Created: 2020-12-09T02:49:04.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-28T18:30:29.000Z (over 2 years ago)
- Last Synced: 2023-03-11T04:17:26.002Z (over 1 year ago)
- Topics: bash, clean, cleaner, cleanup, cleanup-script, mac, macos, update, update-script, update-service, updater, updater-script
- Language: Shell
- Homepage: https://upclean.app
- Size: 2.83 MB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# UpClean
An update and cleanup script for macOS.
- [Installation](#installation)
- [Usage](#usage)
- [Configuration](#configuration)
- [Update](#update)
- [Uninstall](#uninstall)![Screenshot](./screenshot.png)
## Installation
You can use any of the methods below to install UpClean:
```bash
sh -c "$(curl -fsSL https://raw.githubusercontent.com/divspace/upclean/master/installer.sh)"
``````bash
sh -c "$(wget https://raw.githubusercontent.com/divspace/upclean/master/installer.sh -O -)"
``````bash
curl -o upclean https://raw.githubusercontent.com/divspace/upclean/master/upclean.sh
chmod +x upclean
mv upclean /usr/local/bin/upclean
```## Usage
```
$ upclean --helpUpClean 1.4.0 ๐งผ upclean.app
An update and cleanup script for macOS.
Usage:
upclean [options]Options:
--skip-clean Skip cleaning
--skip-composer Skip updating Composer
--skip-composer-packages Skip updating Composer packages
--skip-dns Skip flushing DNS cache
--skip-docker Skip cleaning Docker
--skip-homebrew Skip updating Homebrew
--skip-mas Skip updating Mac App Store applications
--skip-memory Skip clearing inactive memory
--skip-update Skip updating
-h, --help Display this help message
```## Configuration
You can configure the [runtime options](#usage) by adding them to the `.upcleanrc` file in your home directory:
```bash
# File: ~/.upcleanrc
--skip-dns
--skip-memory
```Passing options directly will override any configuration options that you may have set.
## Update
```bash
curl -fsSL "https://raw.githubusercontent.com/divspace/upclean/master/installer.sh" | bash -s update
```## Uninstall
```bash
curl -fsSL "https://raw.githubusercontent.com/divspace/upclean/master/installer.sh" | bash -s uninstall
```