Finds files and directories based on different criteria
via an intuitive fluent interface. π Written in Nim language
nimble install find
- Fluent Interface
-
Driver
Local Filesystem -
Driver
SSH via libssh -
Driver
FTP/SFTP -
Driver
WebDAV - Open Source |
MIT
License - Written in Nim language
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
- π Found a bug? Create a new Issue
- π Wanna help? Fork it!
- π Get β¬20 in cloud credits from Hetzner
- π₯° Donate via PayPal address
Find | MIT license. Made by Humans from OpenPeeps.
Copyright Β© 2023 OpenPeeps & Contributors β All rights reserved.