Is it possible to use find
to only return a result is 3 file names are present in that directory?
of course at the end we can use wc -l
to tally them up...
but starting with some sort of a project root directory and then within just those subfolders that match name / regex pattern try to list ones that have within them:
file1.ext1
and file2.ext2
and *.ext3
and then only count the directly with wc -l
if all those files are present within it?