https://github.com/azzra/romset-cleaner
An emulator romset cleaner written in Go
https://github.com/azzra/romset-cleaner
cleaner go golang romset
Last synced: about 1 year ago
JSON representation
An emulator romset cleaner written in Go
- Host: GitHub
- URL: https://github.com/azzra/romset-cleaner
- Owner: azzra
- License: wtfpl
- Created: 2016-10-18T19:08:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-05T21:40:03.000Z (about 9 years ago)
- Last Synced: 2024-12-25T11:29:58.073Z (over 1 year ago)
- Topics: cleaner, go, golang, romset
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/azzra/romset-cleaner)
[](https://coveralls.io/github/azzra/romset-cleaner?branch=coverage)
[](https://codeclimate.com/github/azzra/romset-cleaner)
[](https://goreportcard.com/report/github.com/azzra/romset-cleaner)
[gocover](http://gocover.io/github.com/azzra/romset-cleaner)
# Romset Cleaner
Move your selected roms from all the romset.
From
```
./
Double Dragon (UE).zip
Double Dragon (USA) (Beta 1).zip
Double Dragon (Prototype).zip
```
To
```
./
Double Dragon (USA) (Beta 1).zip
Double Dragon (Prototype).zip
./moved
Double Dragon (UE).zip
```
## Usage
```sh
-dest_dir string
The destination directory where the roms will be moved in, "{rom_dir}/moved" if empty.
-dry_run
Print what will moved. (default true)
-keep_one
Move the file if it's the only one of its kind.
-keeped string
The attributes you want to keep, in comma separated format. (default "french,france,fr,europe,eur,eu,english,en,eng,uk,word,usa,us")
-rom_dir string
The directory containing the roms file to process. (default ".")
```
## Local Build and Test
You can use go get command:
go get github.com/azzra/romset-cleaner
Testing:
go test github.com/azzra/romset-cleaner/...
# or
go test -tags noasm -coverprofile=coverage.out -v ./...