A simple utility to find files and directories written in Go.
go install github.com/benjkr/gofind@latestgofind [ARGUMENTS] FOLDER
-H human readable sizes [default: false]
--inverted, -i inverted sort [default: false]
--depth DEPTH max depth to go (0 = infinite) [default: 0]
--all, -a do not ignore entries starting with .
--tree, -t Prints Tree of all indexed files
--top TOP N Top files [default: 0]
--dirs, -d include directories [default: false]
--verbose, -v verbose mode [default: false]
Find all files in the current directory:
gofind .Find all files in the current directory, sorted by size (Smallest first):
gofind . --invertedTree of all files in the current directory:
gofind . --treeFind all files in home directory, including hidden files and directories, and prints sizes in human readable format:
gofind ~ -d -a -H
# Prints the top 10 files
gofind ~ -d -a -H --top 10