find
Verified for current stable LTS
Find Commands
Find command syntax with verified terminal examples.
Commands
10 commands for Find
find Operations
Find Command: Find And Delete Empty Files Or Directories
find <path/to/directory> -type <f|d> -empty -delete -print find Operations
Find Command: Find Directories Case Insensitive
find <path/to/directory> -type d -iname '<*lib*>' find Operations
Find Command: Find Files By Extension
find <path/to/directory> -name '<*.ext>' find Operations
Find Command: Find Files By Size Range
find <path/to/directory> -maxdepth 1 -size <+500k> -size <-10M> find Operations
Find Command: Find Files By Size Range Limited Depth
find <path/to/directory> -maxdepth 1 -size <+500k> -size <-10M> find Operations
Find Command: Find Files Excluding Specific Paths
find <path/to/directory> -name '<*.py>' -not -path '<*/site-packages/*>' find Search
Find Command: Find Files Matching Multiple Patterns
find <path/to/directory> -path '<*/path/*/*.ext>' -or -name '<*pattern*>' find Archive
Find Command: Find Modified Files Today And Archive
find <path/to/directory> -daystart -mtime <-1> -exec <tar -cvf archive.tar> {} \+ find Archive
Find Command: Find Recently Modified Files
find <path/to/directory> -daystart -mtime <-1> -exec <tar -cvf archive.tar> {} \+ find Operations
Find Command: Run Command For Each File
find <path/to/directory> -name '<*.ext>' -exec <wc -l> {} \; Suggest a Find Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Find workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.