gocate - a cleverer (eventually) replacement for locate written in Golang

March 26, 2026 ยท View on GitHub

Features

  • Stores hash of file contents for later comparing/printing of duplicate files
  • Can update the database starting at a specific directory in the file tree

Usage

Update gocate database starting at /

gocate -updatedb -path /

Find files ending with certain characters

gocate .md$

Other

gocate -updatedb -path /media/movies

gocate -updatedb -path ~/Music

Contents

  1. 1Features
  2. 2Usage
  3. 2.1Update gocate database starting at /
  4. 2.2Find files ending with certain characters
  5. 2.3Other