Skip to content

xeno/dropbox-recursive-ignore-node_modules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%