/rmdup

duplicate rm : find duplicate files and choose to remove them

Primary LanguageGo

rmdup

remove duplicate files ; find duplicate files and choose to remove them.

Commands

# build
go mod tidy && go build -o rmdup .

# run
./rmdup

# detect race conditions / memory leaks
go run -race .

Resources & References

  • dupeguru written in python 3 + C
  • fslint written in python 3 + shell
  • Video Duplicate near Finder, written in Rust, on GitHub
  • CLI tool to find duplicate files, written in Go, on GitHub
  • dskDitto : Super fast duplicate file finder written in Golang.

Tasks

  • indexing: storing a hashmap of files
  • search for duplicates
  • remove the duplicate file, if the user chose so