View Full Version : Ignore all folders named node_modules

09-23-2017, 01:39 AM
Subject line says it all

I have told SuperDuper to ignore item Users/kevin/Developer/*/*/node_modules (along with some other folders to exclude, like Users/kevin/Music/iTunes/iTunes Music/Podcasts) but I'm not sure that's doing the trick. As many of you know, there can be a lot of files under these folders when you're doing JavaScript development, and they're not necessary to backup at all.

Can't find thorough documentation on how to be sure to do this and to verify that it's happening. Help a fella out? Thx!

09-23-2017, 07:27 AM
In general, I recommend not doing this kind of thing. But, remember that “*” is only going to match what’s at the explicit level you’re on.

So, Users/Kevin/Developer/*/*/node_modules will only match things named that two levels below Devloper.

10-01-2017, 06:13 PM
Thanks for the reply, but could you expand on why you don't recommend this sort of thing? It's a lot of files and I don't need to back them up and SuperDuper takes a long time (over an hour) so I'm looking for ways to speed that up. Thx!

10-01-2017, 06:50 PM
We're going to step through the files regardless, and evaluating them doesn't take very long (I have over 7 million files to evaluate and the whole process finishes in 20 minutes or so.). So, excluding them won't save time if they're not changing all the time...