stevegrunwell / asimov

Automatically exclude development dependencies from Apple Time Machine backups
MIT License
1.62k stars 93 forks source link

Do not ignore folders in already ignored folder #68

Open pkuczynski opened 3 years ago

pkuczynski commented 3 years ago

I had this output when running asimov:

/Users/yyy/Projects/xxx/node_modules/postcss-minify-params/node_modules has been excluded from Time Machine backups

There should be no need to do that, as /Users/yyy/Projects/xxx/node_modules/ is already ignored...

stevegrunwell commented 3 years ago

Hey @pkuczynski, thank you for bringing this to our attention! Checking to see (at the very least) if one of the parent directories matches the directory being searched for (e.g. a node_modules/ directory within a node_modules/ directory) could reduce the number of hits and speed up the process.

Eneris commented 10 months ago

+1 on this