Giter Club home page Giter Club logo

xclean's Introduction

XClean

Simple tool to clean some of the stuff created by XCode.
Looks at next locations and tries to remove some of the stuff located here:

~/Library/Developer/Xcode/DerivedData
~/Library/Developer/Xcode/Archives
~/Library/Developer/Xcode/iOS DeviceSupport
~/Library/Developer/Xcode/watchOS DeviceSupport
~/Library/Developer/CoreSimulator/Devices
/Library/Developer/CoreSimulator

Installation

brew install deszip/tools/xclean

Usage

usage: xclean [-l] <TARGET> [-r] <TARGET> [-t] <TIMEOUT>

-l <TARGET>    Lists files that could be relatively safely removed.
               Pass target name to list only it. Available targets: DerivedData, Archives, DeviceSupport, CoreSimulator.
               If no value passed - uses all targets.
-r <TARGET>    Removes files listed by -l
-t <TIMEOUT>   Sets interval for assuming file is old.
               -r and -l will process only files with last access date older than timeout
-v             Print the version of the application

Some examples:

  • List all targets showing info on how much space could be freed
    xclean -l
  • Same as above but only for derived data
    xclean -l DerivedData
  • Removes all derived data older than an hour
    xclean -r DerivedData -t 3600

Sources

https://github.com/deszip/xcleaner

Contacts

If you have improvements or concerns, feel free to post an issue and write details.

xclean's People

Contributors

deszip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.