clj-glob icon indicating copy to clipboard operation
clj-glob copied to clipboard

quickly locate files using glob patterns, for Clojure

glob

Finds files based on glob patterns like "*.jpg" or "/usr/*/se*". Similar to glob in Perl, Ruby, and PHP.

Usage

(ns foo.bar
  (:use org.satta.glob))

(glob "*.{jpg,gif}")

(glob ".*")  ; dot files are not included by default

(glob "/usr/*/se*")  ; works on directories and subdirectories

Installation

Add this dependency to your project.clj:

[clj-glob "1.0.0"]

License

EPL