A custom Domain Specific Language (DSL) used to retrieve files on the computer.
- Follows a simple, SQL-like syntax
- Search for files by extension, size, created date, and date modified
- Supports
recentlykeyword — defaults to files from the last 15 days
filefind "find file from 'C:\Users' where ext = pdf"Retrieves all PDF files from the Users directory.
ext— file extension (e.g.ext = "pdf")size— file size (e.g.size > 10000MB) (no spaces between number and units)created— creation date (e.g.created = recently)date-modified— last modified date (e.g.date-modified < 30)name like- search files by namecreated = recently- search files modified 15 days ago
- All logical operators
- Boolean:
and,or,not
- Navigate to powershell (no admin permission required)
- paste this command:
irm https://raw.githubusercontent.com/KaustAbhinand/filefind_DSL/main/install.ps1 | iex - run
filefind --helpto confirm the installation worked.
Check the sample_queries doc provided, you'll get a fair idea on the syntax :)