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
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
- dropboxignore with support for
.dropboxignorefiles - dropbox-ignore-node_modules
- OSX Automator script
- StackOverflow: How to ignore node_modules recursively in Dropbox on a Mac
- StackOverflow: How to ignore files recursively in Dropbox using Powershell
- Gist: Recursively ignore node_modules in Dropbox. Git for Windows edition.
On this page
Languages
Go100.0%
Apache License 2.0
Created February 22, 2022
Updated March 10, 2026