https://github.com/codegram01/goff
Command-line tool for compare folder and files change, written in Go.
https://github.com/codegram01/goff
cli compare-files golang linux tools
Last synced: 10 months ago
JSON representation
Command-line tool for compare folder and files change, written in Go.
- Host: GitHub
- URL: https://github.com/codegram01/goff
- Owner: codegram01
- License: mit
- Created: 2024-08-05T06:44:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-08T03:17:26.000Z (over 1 year ago)
- Last Synced: 2025-04-08T01:51:23.294Z (12 months ago)
- Topics: cli, compare-files, golang, linux, tools
- Language: Go
- Homepage: https://youtu.be/AY8Azk_KWNM?si=uxbFJKsAXQefzwXB
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```
________ _____ _____
/ _____/ _____/ ____\/ ____\
/ \ ___ / _ \ __\\ __\
\ \_\ ( <_> ) | | |
\______ /\____/|__| |__|
\/
```
# Goff - Compare Folder and Files
goff is a command-line tool for compare folder and files change, written in Go.
[Video when i create goff](https://youtu.be/AY8Azk_KWNM)
## Features
- Compare Folder B vs A
+ What file new in folder B vs folder A
+ What file have deleted in folder B vs folder A
+ What file change content
+ What content change
- Compare file B vs A
## Usage
```sh
goff [path_old] [path_new]
```
Examples:
```sh
$ goff old-hello.txt new-hello.txt
$ goff old/hello.txt new/hello.txt
$ goff old new
$ goff old/abc new/abc
```
## Install
Prerequisites: [Install Golang](https://go.dev/doc/install)
### Option 1: Install Binary
```sh
go install github.com/codegram01/goff@latest
```
### Option 2: Install and build from source
```sh
git clone https://github.com/codegram01/goff.git
cd goff
# Run code:
go run .
# Build
go build .
# Install command
go install
```