findit
findit is a simple and powerful command line utility that can be used to search for files in a directory hierarchy as an alternative to find.
What can you use it for
You can use this tool to find files within a directory using complex filters over the file properties, content or structure.
For example:
findit src --where 'extension == "rs" AND not content.contains("#[cfg(test)]")'
Will find all the rust files under src without any test code.
Quick Examples
Find large files
findit --where 'size > 1000000' --order-by 'size DESC' --limit 10
Find recent files
findit --where 'modified > now() - 86400'
Find files by content
findit --where 'content.contains("TODO")'
Find executable files
findit --where 'NOT IS DIR AND permissions & 0o111 != 0'
Documentation
- Quick Start Guide
- Installation
- Usage Guide
- Syntax Reference
- Cookbook - Real-world Examples
- Quick syntax help:
findit --help-syntax