Skip to content
/ find Public
generated from openpeeps/pistachio

(WIP) Finds files and directories based on different criteria via an intuitive fluent interface

Notifications You must be signed in to change notification settings

openpeeps/find

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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.

About

(WIP) Finds files and directories based on different criteria via an intuitive fluent interface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages