One minute
Finding files/dirs with common subpath
Recently I found myself looking for all the files of the same name & subpath. For context, itβs a GitOps (or CI-Ops, if youβre from the weaveworks gang π) repository, where the root directories are k8s clusters and the inner directories are components, with the leaf file being the helmfile we use for deployments.
So a simplified structure would look something like:
Easiest way to find all helmfile.yaml
files for component-1
in all clusters?
And this would yield:
Et voilΓ !