mirror of
https://github.com/openpeeps/find
synced 2026-01-14 21:11:35 +00:00
No description
| .github | ||
| examples | ||
| src | ||
| tests | ||
| .gitignore | ||
| find.nimble | ||
| README.md | ||

Finds files and directories based on different criteria
via an intuitive fluent interface. 👑 Written in Nim language
nimble install find
😍 Key Features
- Fluent Interface
DriverLocal FilesystemDriverSSH via libsshDriverFTP/SFTPDriverWebDAV- Open Source |
MITLicense - Written in Nim language
Examples
Get all .txt files from directory
let res: Results = finder("./examples").name("*.txt").get
Get all .txt files from directory using size criteria
let res = finder("./examples").name("*.txt").size(< 10.mb).get
for file in res.files():
echo file.getSize
Find files using regular expression
let res = finder("./examples").name(re"20[\w-]+\.txt").get
for file in res.files:
echo file.getName
For more examples check /tests | API reference
❤ Contributions & Support
- 🐛 Found a bug? Create a new Issue
- 👋 Wanna help? Fork it!
- 😎 Get €20 in cloud credits from Hetzner
- 🥰 Donate via PayPal address
🎩 License
Find | MIT license. Made by Humans from OpenPeeps.
Copyright © 2023 OpenPeeps & Contributors — All rights reserved.