Note that this does not remove existing node_modules folders that have been 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-
- Edit the file at
/Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml. - Add this rule inside the
bzexclusionstag:
<!-- Exclude node_modules. -->
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />