find

Locate files by name, type, size, permissions, and time across a filesystem.

Updated Jul 2, 2024
One-click install
npx skills add https://github.com/jyasuu/cheat-sheet --skill find-jyasuu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: find
Source: https://github.com/jyasuu/cheat-sheet/tree/main/skills/find
Command: npx skills add https://github.com/jyasuu/cheat-sheet --skill find-jyasuu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you locate files efficiently across your filesystem by name, type, size, permissions, and modification time, reducing manual search effort.

Core Features & Use Cases

  • Full-spectrum search by name, type, size, time, and permissions, with depth and path filters.
  • Complex queries by combining criteria (e.g., large log files recently modified) for cleanup, auditing, or inventory tasks.
  • Practical use case: quickly locate all log files larger than 1MB in a project directory for archiving.

Quick Start

Search for all .log files larger than 1MB in the current directory.

Frequently Asked Questions about find

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find large files by size and modification time for filesystem cleanup?

Find files by combining multiple criteria like size, name, and modification time to support cleanup tasks, returning a targeted list of matches across the filesystem for efficient inventory management.

What is the best way to audit file permissions across a directory?

Auditing file permissions requires searching the filesystem with permission-based filters, generating a comprehensive inventory of files matching specific access rights for security review and compliance checks.

Can I search for files by type and apply depth control to limit the search scope?

Searching by file type with depth control filters results to specific directory levels, allowing targeted file location within a defined path structure without scanning the entire filesystem tree.

Does filesystem search by name and path require validating inputs to avoid destructive commands?

Filesystem search by name and path validates inputs and avoids destructive commands to ensure safe execution, returning search results without risking accidental data modification or system damage.

Why does searching for recently modified files help with system administration tasks?

Searching for recently modified files by mtime helps system administrators identify recently changed configurations or logs, providing visibility into system activity for troubleshooting and auditing.