Files
cheatsheet-tldr/tldr/osx/mac-cleanup
2025-05-21 00:20:30 +00:00

30 lines
670 B
Plaintext

---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# mac-cleanup
> A modern macOS cleanup tool to remove caches and junk.
> More information: <https://github.com/mac-cleanup/mac-cleanup-py>.
- Start the cleanup process:
`mac-cleanup`
- Open the module configuration screen:
`mac-cleanup {{[-c|--configure]}}`
- Perform a dry-ru[n], showing what will be removed without actually deleting it:
`mac-cleanup {{[-n|--dry-run]}}`
- Specify the directory with custom cleanup [p]ath:
`mac-cleanup {{[-p|--custom-path]}} {{path/to/directory}}`
- Automatically acknowledge all warnings and continue with [f]orce:
`mac-cleanup -f`