프롬프트 도감 › No.1555
파일 검색 색인 도구 만들기
File Indexer CLI
Go 언어로 폴더 안을 모두 훑어 파일 정보와 내용을 정리해 두고 검색하는 명령어 도구를 만들어 달라고 해요. 똑같은 파일 찾기, JSON·CSV 파일로 내보내기가 들어가요.
이럴 때 내 파일 정리 도구 만들기, Go 언어 공부, 중복 파일 찾기
도구 ChatGPT · Claude · Gemini
프롬프트
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.
팁
- 먼저 기본 검색부터 만들고 기능을 더하세요
- 작은 테스트용 폴더로 속도를 확인하세요
출처
권리: CC0 (f/prompts.chat). 자유 사용. 기여자: f.