duplicity --exclude "**/node_modules" full /home/user file:///backup/duplicity
Full backup excluding node_modules patterns
Adds an --exclude glob so directories named node_modules anywhere under /home/user are skipped. The ** pattern matches any number of path levels. Duplicity also supports --exclude-filelist for longer ignore lists.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.