package dirsift

  1. Overview
  2. Docs
Search for directories

Install

Dune Dependency

Authors

Maintainers

Sources

v0.0.3.tar.gz
sha256=f41ac2707da59e1758264f2fe84106265d5e607a50817afa8edaa6bd01b9c673

Description

dirsift -t TYPE [PATH]

Subdirectories of PATH which satisfy specified TYPE requirements are listed

PATH defaults to . if unspecified

TYPE can be one of

  • git
    • Directory contains .git subdirectory
  • not-git
  • hidden
    • Name of directory begins with .
  • not-hidden
  • hot
    • Directory contains >=1 file last modified within past 7 days (7 x 24 hours)
    • User configurable
  • warm
    • Directory contains >=1 file last modified within past 30 days (30 x 24 hours), but not hot
    • User configurable
  • cold
    • Directory is neither hot nor warm

If multiple -t TYPE are specified, they are connected by and (conjunction), i.e. directory must satisfy all TYPE requirements to be listed

Published: 09 Mar 2021

README

dirsift

Search for directories by type

Installation

Statically linked binaries are available via GitHub releases

Alternatively you can install dirsift via opam

Usage

dirsift -t TYPE [PATH]

Subdirectories of PATH which satisfy specified TYPE requirements are listed

PATH defaults to . if unspecified

TYPE can be one of

  • git

    • Directory contains .git subdirectory

  • not-git

  • hidden

    • Name of directory begins with .

  • not-hidden

  • hot

    • Directory contains >=1 file last modified within past 7 days (7 x 24 hours)

    • User configurable

  • warm

    • Directory contains >=1 file last modified within past 30 days (30 x 24 hours), but not hot

    • User configurable

  • cold

    • Directory is neither hot nor warm

If multiple -t TYPE are specified, they are connected by and (conjunction), i.e. directory must satisfy all TYPE requirements to be listed

Dependencies (9)

  1. dune-build-info
  2. timere-parse
  3. timere < "0.2.1"
  4. toml >= "6.0.0" & < "7.0.0"
  5. cmdliner
  6. fileutils
  7. containers >= "3.0"
  8. dune >= "2.7.0"
  9. ocaml >= "4.08.1"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.