package dirsift
Not available on OCaml 5.5Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=2d75af27a10ae570f503dd7ab26892ab50a00cb63faeb971dada3d25f6f36f80
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 identified as git repository
not-gitborg- Directory identified as BorgBackup backup program repository
not-borgrestic- Directory identified as Restic backup program repository
not-restichidden- Name of directory begins with
.
- Name of directory begins with
not-hiddenhot- 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
- Directory contains >=1 file last modified within past 30 days (30 x 24 hours), but not
cold- Directory is neither
hotnorwarm
- Directory is neither
emptynot-empty
If multiple -t TYPE are specified, they are connected by and (conjunction),
i.e. directory must satisfy all TYPE requirements to be listed
Added to opam-repository:
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 identified as git repository
not-gitborg- Directory identified as BorgBackup backup program repository
not-borgrestic- Directory identified as Restic backup program repository
not-restichidden- Name of directory begins with
.
- Name of directory begins with
not-hiddenhot- 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
- Directory contains >=1 file last modified within past 30 days (30 x 24 hours), but not
cold- Directory is neither
hotnorwarm
- Directory is neither
emptynot-empty
If multiple -t TYPE are specified, they are connected by and (conjunction), i.e. directory must satisfy all TYPE requirements to be listed
Configuration
Create a file at ~/.config/dirsift/config, add any number of the options from the example config as follows
hot_upper_bound = "7d"
warm_upper_bound = "30d"
Dependencies (10)
- dune-build-info
-
timere-parse
>= "0.0.5" -
timere
>= "0.6.0" -
timedesc
>= "0.5.1" & < "0.6.0" -
otoml
>= "0.9.1" -
cmdliner
< "2.0.0" - fileutils
-
containers
>= "3.4" -
dune
>= "2.7.0" -
ocaml
>= "4.08.1"
Dev Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building dirsift with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.0.5 (this version) | good | good | n/a | n/a | n/a |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure