कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

fd-find

arnarsson द्वारा

CLI Utilities
2.6kclawskills.sh द्वारा बताए गए डाउनलोड
1स्टार
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

A fast and user-friendly alternative to 'find' - simple syntax, smart.

विवरण

यह स्किल क्या करती है

fd is a command-line file search tool that replaces `find` with simpler syntax and smarter defaults. It respects `.gitignore` by default, uses smart case matching, and traverses directories in parallel. Supports filtering by extension, type, size, modification time, and regex patterns.

Faster than `find`, requires no `-name`/`-type` boilerplate for common searches, and skips `node_modules` and build artifacts automatically via gitignore support.

इसे कब इस्तेमाल करें

  • Find all TypeScript files across a monorepo
  • Delete log files older than 30 days
  • Locate files over 100MB consuming disk space
  • Batch convert all images in a directory using -x
  • Search for config files modified in the last hour

उदाहरण वर्कफ़्लो

इनपुट

User asks: count total lines across all Python files changed in the last 2 days

एजेंट
  1. 1

    Run fd -e py --changed-within 2d to list recently modified Python files

  2. 2

    Append -x wc -l to count lines per file in parallel

  3. 3

    Pipe output to awk '{sum+=$1} END {print sum}' to total the counts

आउटपुट

Single integer representing total lines across matching files

आवश्यकताएँ

  • fd binary — install via `brew install fd` (macOS) or `apt install fd-find` (Linux)

इंस्टॉलेशन

clawhub install arnarsson/fd-find

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक