No description
Find a file
2023-10-07 23:23:59 +03:00
.github use repo name 2023-02-01 21:08:37 +02:00
examples add more filters 2023-01-24 17:10:09 +02:00
src fancy stuff 2023-02-01 21:12:25 +02:00
tests update 2023-01-24 17:31:45 +02:00
.gitignore update 2023-01-24 00:46:28 +02:00
find.nimble add desc 2023-02-06 16:36:57 +02:00
README.md Update README.md 2023-10-07 23:23:59 +03:00


Finds files and directories based on different criteria
via an intuitive fluent interface. 👑 Written in Nim language

nimble install find

API reference

Github Actions Github Actions

😍 Key Features

  • Fluent Interface
  • Driver Local Filesystem
  • Driver SSH via libssh
  • Driver FTP/SFTP
  • Driver WebDAV
  • Open Source | MIT License
  • 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

🎩 License

Find | MIT license. Made by Humans from OpenPeeps.
Copyright © 2023 OpenPeeps & Contributors — All rights reserved.