{"id":28183334,"url":"https://github.com/darrenldl/dirsift","last_synced_at":"2025-05-16T04:15:46.343Z","repository":{"id":53790990,"uuid":"341926031","full_name":"darrenldl/dirsift","owner":"darrenldl","description":"Search for directories by types","archived":false,"fork":false,"pushed_at":"2023-02-17T11:03:08.000Z","size":35,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-01T15:10:58.360Z","etag":null,"topics":["command-line","filesystem","search","tool"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darrenldl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-24T14:26:00.000Z","updated_at":"2024-05-01T15:10:58.361Z","dependencies_parsed_at":"2022-09-24T16:51:58.912Z","dependency_job_id":null,"html_url":"https://github.com/darrenldl/dirsift","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrenldl%2Fdirsift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrenldl%2Fdirsift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrenldl%2Fdirsift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darrenldl%2Fdirsift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darrenldl","download_url":"https://codeload.github.com/darrenldl/dirsift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464872,"owners_count":22075572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","filesystem","search","tool"],"created_at":"2025-05-16T04:15:40.692Z","updated_at":"2025-05-16T04:15:46.334Z","avatar_url":"https://github.com/darrenldl.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dirsift\n\nSearch for directories by types\n\n## Installation\n\nStatically linked binaries are available via [GitHub releases](https://github.com/darrenldl/dirsift/releases)\n\nAlternatively you can install dirsift via opam\n\n## Usage\n\n```\ndirsift -t TYPE [PATH]\n```\n\nSubdirectories of PATH which satisfy specified TYPE requirements are listed\n\nPATH defaults to `.` if unspecified\n\nTYPE can be one of\n- `git`\n  - Directory identified as git repository\n- `not-git`\n- `borg`\n  - Directory identified as BorgBackup backup program repository\n- `not-borg`\n- `restic`\n  - Directory identified as Restic backup program repository\n- `not-restic`\n- `hidden`\n  - Name of directory begins with `.`\n- `not-hidden`\n- `hot`\n  - Directory contains \u003e=1 file last modified within past 7 days (7 x 24 hours)\n  - User configurable\n- `warm`\n  - Directory contains \u003e=1 file last modified within past 30 days (30 x 24 hours), but not `hot`\n  - User configurable\n- `cold`\n  - Directory is neither `hot` nor `warm`\n- `empty`\n- `not-empty`\n\nIf multiple `-t TYPE` are specified, they are connected by `and` (conjunction),\ni.e. directory must satisfy all TYPE requirements to be listed\n\n## Configuration\n\nCreate a file at `~/.config/dirsift/config`, add any number of the options\nfrom the example config as follows\n\n```\nhot_upper_bound = \"7d\"\nwarm_upper_bound = \"30d\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarrenldl%2Fdirsift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarrenldl%2Fdirsift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarrenldl%2Fdirsift/lists"}