https://github.com/comp500/filebisect
Find the conflicting file (e.g. mod) in a folder
https://github.com/comp500/filebisect
Last synced: about 1 year ago
JSON representation
Find the conflicting file (e.g. mod) in a folder
- Host: GitHub
- URL: https://github.com/comp500/filebisect
- Owner: comp500
- License: mit
- Created: 2019-07-13T01:06:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-05T03:15:29.000Z (over 6 years ago)
- Last Synced: 2025-01-27T13:23:59.418Z (over 1 year ago)
- Language: Go
- Size: 39.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FileBisect
Find the conflicting file (e.g. mod) in a folder. Doesn't work with nested folders (recursion), they are ignored.
## How to install it
1. Install Go
2. Run `go get -u github.com/comp500/filebisect`
## How to use it
1. Open the command prompt / terminal / whatever in the folder you want to bisect
2. Run `filebisect index` to generate an index of the files in the folder
3. Run `filebisect ignore [file]` to tell FileBisect which files you don't want to change (e.g. the mod you want to test compatibility with)
4. Run `filebisect bad` to state that the current set of files has a conflict. FileBisect will now remove some of the files (moved to a temporary directory) so you can test with only some of the files.
5. Now test the system (e.g. modpack) again. If there is a conflict, run `filebisect bad`. If not, run `filebisect good`.
6. When the bisection is done, FileBisect will say "Done!". The results are in `file-bisect-index.toml`, just Ctrl+F for `bad`.
Note: If some of the files need to be there at the same time (e.g. dependencies), just move them from the temporary directory (see `file-bisect-index.toml` for the location, it is in `%TEMP%` on Windows) after running `filebisect bad` or `filebisect good`. FileBisect will automatically recognise where the files are each time you run it.
## To Do
- Dependency checking
- CurseForge dependency import
- Recursion support (nested folders)
- `.disabled` support (instead of moving to a temporary folder)
- GUI