1.0.1 • Published 3 years ago

dropbox-recursive-ignore-node_modules v1.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

Dropbox Ignore node_modules

This NodeJS script works as a CLI that tells Dropbox to ignore all node_modules directories. It searches recursively, so you only have to run it once.

As per Dropbox Documentation you can see the simple command used to do this.

Usage

Install package globally.

npm i dropbox-recursive-ignore-node_modules -g

Using CLI, navigate to your primary Dropbox folder.

You may use the command dropignore or di for short.

cd ~/Dropbox
di

Notes

  • Should work with Windows, Windows with WSL, MacOS and Linux. Only tested on Windows with WSL.
  • This will only ignore currently installed node_modules folders, so you'll have to run it again if you install a new project.

Forked from tmackness/dropbox-ignore-node_modules Many thanks to tmackness and dilincoln for their work on the original project.