Excluding node_modules from Time Machine Backups

Just learned of this on the interwebs, will post the link when I find it again

If you want to exclude all `node_modules` across your drive from being included in Time Machine backups, you can run the following command:

find `pwd` -name 'node_modules' -prune -type d -exec tmutil addexclusion {} \; -exec tmutil isexcluded {} \;

This will execute find, using your personal working directory as the root, get all instances of node_modules of a directory type, and then add it to the exclusion list util tmutil. The last part using isexcluded so you verify that each of them have been added.