Shirt Pocket Discussions

Shirt Pocket Discussions (http://www.shirt-pocket.com/forums/index.php)
-   General (http://www.shirt-pocket.com/forums/forumdisplay.php?f=6)
-   -   Ignore all folders named node_modules (http://www.shirt-pocket.com/forums/showthread.php?t=7072)

kevinashworth 09-23-2017 02:39 AM

Ignore all folders named node_modules
 
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!

dnanian 09-23-2017 08: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.

kevinashworth 10-01-2017 07: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!

dnanian 10-01-2017 07: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...


All times are GMT -4. The time now is 02:08 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.