GitHunt
KI

kichik/dropbox-ignorer

Quick and dirty way to make Dropbox ignore node_modules (and others)

dropbox-ignorer

Quickly set the Dropbox ignore flag on all
folders matching a given pattern under $HOME/Dropbox. Can be used to easily remove all node_modules folders from
your Dropbox account.

  • Works on Windows, Linux and Mac OS X
  • CLI only
  • Very fast
  • 0% fluff
C:\> dropbox-ignorer node_modules
2022/02/21 16:51:24 Scanning C:\Users\kichik\Dropbox for node_modules...
2022/02/21 16:51:24 Excluded C:\Users\kichik\Dropbox\some-node-project\node_modules
2022/02/21 16:51:24 Excluded C:\Users\kichik\Dropbox\another-node-project\node_modules
2022/02/21 16:51:24 Excluded C:\Users\kichik\Dropbox\sub\node\node_modules

CI GitHub go.mod Go version of a Go module
GoReportCard GitHub license GitHub release

Options

If you have multiple Dropbox folders, or your Dropbox folder is not under $HOME, you can use --dropbox-folder to specify another folder.

C:\> dropbox-ignorer -d D:\some\other\dropbox node_modules
2022/02/21 16:51:24 Scanning D:\some\other\dropbox for node_modules...
2022/02/21 16:51:24 Excluded D:\some\other\dropbox\some-node-project\node_modules

Other Solutions

Languages

Go100.0%

Contributors

Apache License 2.0
Created February 22, 2022
Updated March 10, 2026