You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Avril
289308ccf3
|
4 years ago | |
---|---|---|
semaphore | 4 years ago | |
.gitignore | 4 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
emacs-cleaner.go | 4 years ago |
README.md
Emacs Cleaner 0.1.1
Remove emacs temporary files
Usage
Simple utility.
$ emacs-cleaner .
$ emacs-cleaner --threads 20 .
$ emacs-cleaner --dry .
Default amount of threads is 10
. If given --dry
will only print results and won't unlink anything.
Give --threads
the value 1
for single threaded usage (recommended for slow disks, strange filesystems, or NFS mounts.)
Building
To just run:
$ go run emacs-cleaner.go
To just build the binary:
$ go build emacs-cleaner.go
To build and install:
$ make && sudo make install
The default install path is /usr/local/bin
, change INSTALL_DIR
in Makefile to specify location.
To uninstall:
$ sudo make uninstall
License
GPL'd with love <3