### Exclude node_modules and .git from Backblaze backups on Mac
1. Edit the file at `/Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml`.
2. Add these rules inside the `bzexclusions` tag:
```xml
```
### Notes
It can take one to eight hours before new files are backed up. If you want to test this has worked, best to wait a day or so. https://help.backblaze.com/hc/en-us/articles/217665498-Why-hasn-t-Backblaze-backed-up-my-new-files-yet-
Adding this rule does not appear to remove existing `node_modules` folders that have already backed up. Options to delete existing `node_modules` folders are here: https://help.backblaze.com/hc/en-us/articles/217666658-How-can-I-delete-files-that-have-already-been-uploaded-
You may wish to also exclude `.git` folders with the extra exclusion rules described here: https://gist.github.com/jb510/7f52f0f4c13020b56e30ac72eb733efb
### References
- a. https://help.backblaze.com/hc/en-us/articles/220973007-Advanced-Topic-Setting-Custom-Exclusions-via-XML
- b. https://aoeex.com/phile/backblaze-custom-exclusions/ (examples for Windows)