This code scratches an itch I've had for a while, which is (when used with find's -exec) to search for directories based in their contents. It can express conditions like "directories containing at least 2 .c files but lacking a Makefile". This is a pretty early version and there's lots to do but it's functional, comments welcomed:

https://codeberg.org/joatca/indir

#Linux #CrystalLang

indir

`indir` is a tool intended to be used with the `-exec` test of `find` to search for directories with particular contents. It can express conditions like "contains more than 2 C files but lacks a Makefile".

Codeberg.org