Time Machine will backup your files. For a developer, and having loads of node_modules
and vendor
directories for projects, this is huge time suck and waste since those can be brought back with npm
, yarn
, composer
, etc.
Directories can be excluded from Time Machine using the cli.
First, verify that you can get a list of directories that you want to exclude:
cd "$HOME/code" && find $(pwd) -maxdepth 3 -type d \( -name vendor -o -name node_modules \)