lajosdeme / xcclear

Simple and easy to use command line application written in Go for cleaning unnecessary XCode files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xcclear

Say hello to a few extra gigabytes of space on your Mac with xcclear, a simple and easy to use command line application written in Go for cleaning unnecessary XCode files.

Installation

brew install lajosdeme/utils/xcclear

Screenshots

Run xcclear -d to diagnose your storage:

diagnose

Run xcclear -p to purge all unwanted files from your storage:

purge

Options

flag type description
-d/--diagnose bool Diagnose the total space occupied by derived data, caches and other XCode related files.
-p/--purge bool Clean all caches/unnecessary files.
-c/--clear string Clean only the specified directories.
Options can be:
- derived: Derived Data.
- device: iOS DeviceSupport (The latest iOS version will be kept.)
- watch: watchOS DeviceSupport
- simulator: 'CoreSimulator'
- cache: Xcode caches located at ~/Library/Caches/com.apple.dt.Xcode
- archives: Archives
-v/--version bool Get the current version.

Development

Compiling from source

go get github.com/lajosdeme/xcclear

If $GOPATH/bin is on your $PATH run xcclear -h to see usage options.

Contributing

If you have any suggestions or questions feel free to raise an issue or reach out to me directly via lajosd@protonmail.ch.

If this tool made your life easier you can thank me by buying me a coffee.

Buy Me A Coffee

About

Simple and easy to use command line application written in Go for cleaning unnecessary XCode files.


Languages

Language:Go 100.0%