find / -name MyFile ! -path '*/Directory/*'
Find all package.json
files in monorepo packages (excluding node_modules/* and specific package location)
find . -name 'package.json' ! -path '*/node_modules/*' ! -path '*/prisma/generated/*'
find . -name 'package.json' ! -path '*/node_modules/*' ! -path '*/prisma/generated/* | \
xargs cp --parents -t ../manifests