-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block package managers' cache directories #58
Comments
Would it be worth also ignoring |
I'd say we should absolutely ignore those, but I'm wary of ignoring all Is there a dependency file that we might be able to look for to ensure we're only blocking caches that can be re-created? |
Using gatsby requires a Gatsby also generates static files in |
But why do you need any kind of cache in your time machine? I would suggest excluding all cache like directories. |
Some additions:
|
What about Go paths also, which seems to have caused at least one Timemachine restore problem : https://twitter.com/thisdougb/status/1378390726950617091?s=20 |
Package managers will typically create a cache directory in order to prevent the same packages from being downloaded over and over again. For example, Composer will store these in
~/.composer/cache
.Since these too are development dependencies that can easily be restored, they should be omitted from Time Machine backups.
It's worth noting that these are often configurable, so if the given tools are available we may want to try to query their configurations.
What other cache directories are hiding out in our home directories?
The text was updated successfully, but these errors were encountered: