https://github.com/tamada/remtools
https://github.com/tamada/remtools
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tamada/remtools
- Owner: tamada
- License: wtfpl
- Created: 2019-05-08T00:39:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-25T06:25:34.000Z (about 6 years ago)
- Last Synced: 2023-03-22T16:29:52.218Z (almost 3 years ago)
- Language: Go
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# remtools
move backup files to trash box, and list/empty trash box.
Note that, current implementation is only for macOS.
## Usage
### `rem`
move backup files to trash box.
```sh
rem [OPTIONS] [DIR...]
OPTIONS
-a, --all includes hidden file.
-d, --dry-run dry run mode.
-i, --inquiry inquiry mode.
-r, --recursive recursive mode.
-v, --verbose verbose mode.
-h, --help print this message and exit.
-V, --version print version, and exit.
```
### `lsrem`
list files in trash box.
```sh
lsrem [OPTIONS]
OPTIONS
-a, --all print hidden files.
-l, --long-format print long format.
-h, --help print this message.
-V, --version print version.
```
### `remrem`
empty trash from command line.
```sh
remrem [OPTIONS]
OPTIONS
-i, --inquiry inquiry mode.
-h, --help print this message and exit.
-V, --version print version, and exit.
```
## install
### Golang
```sh
$ go get github.com/tamada/remtools
```
### Homebrew
```sh
$ brew tap tamada/brew
$ brew install remtools
```