Skip to content
/ pfind Public

Parallel find(1) for recursive listing a directory hierarchy

License

Notifications You must be signed in to change notification settings

andys/pfind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pfind - Parallel Directory Finder

A fast, concurrent file system traversal utility written in Go.

Overview

pfind is a command-line tool that recursively lists all files and directories starting from a specified root directory. It uses Go's concurrency features and a worker pool to efficiently traverse large directory structures in parallel.

Concurrency feature

On my 8 core laptop with a Samsung 980 PRO SSD, achieves a greater than 5x speed-up for a directory hierarchy of 2 million files. (5.8 seconds versus 36)

Installation

go install github.com/yourusername/pfind@latest

Or build from source:

git clone https://github.com/yourusername/pfind.git
cd pfind
go build

Usage

pfind <start-directory>

Example:

pfind /home/user/documents

Dependencies

License

See the LICENSE file for details.

About

Parallel find(1) for recursive listing a directory hierarchy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages