nosyncer
v0.0.3
Published
Adds `.nosync` file to all `**/node_modules` directories so that iCloud can ignore these folders while sync'ing.
Downloads
20
Maintainers
Readme
nosyncer
Adds .nosync
file to all **/node_modules
directories so that iCloud can ignore these folders while sync'ing.
Installation
npm i -g nosyncer
Usage
Below will take care of all node_modules
folders within current working directory (nested search).
$ nosync
# OR
$ nosync .
nosync file already exists at 'node_modules/.nosync'
created .nosync file at 'node_modules/@jovian/fourq-config/node_modules'
created .nosync file at 'node_modules/argparse/node_modules'
created .nosync file at 'node_modules/body-parser/node_modules'
created .nosync file at 'node_modules/codelyzer/node_modules'
Targetting is also possible by providing a target path:
$ nosync "/usr/some/path"
nosync file already exists at '/usr/some/path/node_modules/.nosync'
created .nosync file at '/usr/some/path/node_modules/@jovian/fourq-config/node_modules'
created .nosync file at '/usr/some/path/node_modules/argparse/node_modules'
created .nosync file at '/usr/some/path/node_modules/body-parser/node_modules'
created .nosync file at '/usr/some/path/node_modules/codelyzer/node_modules'