Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/keith/zap

A CLI for cleaning up after .apps
https://github.com/keith/zap

cli macos osx

Last synced: 1 day ago
JSON representation

A CLI for cleaning up after .apps

Awesome Lists containing this project

README

        

# zap

A simple command line tool to remove a `.app` on macOS and its [related
files](https://github.com/keith/zap/blob/master/zap#L80-90).

Think [AppZapper](http://www.appzapper.com) from the command line.

**Zap asks you for permission before deleting each file**

## Usage

To delete an application in `/Applications` or `~/Applications`

```sh
zap foo.app
```

To delete a specific application:

```sh
zap /path/foo.app
```

To delete an application securely use `-s` (this must come before the
application):

```sh
zap -s foo.app
```

### Installation

With [Homebrew](http://brew.sh)

```sh
brew install keith/formulae/zap
```

Without Homebrew just copy `zap` to somewhere in your `$PATH`. If you
would also like the zsh completions copy `_zap` to somewhere in your
`$fpath`.

#### Disclaimer

This CLI deletes stuff. If it deletes the wrong stuff it isn't my fault.