File System Indexer CLI – ChatGPT prompt

More roles · 78 words

This prompt turns ChatGPT into a Go developer guide that creates a fast file system indexer with search, metadata extraction, incremental updates, export, duplicate detection, and concurrency. It helps developers building CLI tools.

The prompt

Build a high-performance file system indexer and search tool in Go. Implement recursive directory traversal with configurable depth. Add file metadata extraction including size, dates, and permissions. Include content indexing with optional full-text search. Implement advanced query syntax with boolean operators and wildcards. Add incremental indexing for performance. Include export functionality in JSON and CSV formats. Implement search result highlighting. Add duplicate file detection using checksums. Include performance statistics and progress reporting. Implement concurrent processing for multi-core utilization.

Source: prompts.chat (CC0).