xeno / dropbox-recursive-ignore-node_modules

This package will tell Dropdox to ignore the node_modules directory inside your project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. Tested on Windows with WSL and MacOS through 12.6.2.
  • 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.

About

This package will tell Dropdox to ignore the node_modules directory inside your project.


Languages

Language:JavaScript 100.0%