I know it is possible to exclude a particular folder by a command like this:
tar --exclude='/srv/www/project/node_modules' -zcvf /backup/project.tgz .
My question how to exclude any folder named node_modules anywhere within the entire /srv/www directory, to exclude it and exclude all folders under it?