- Shell 95.1%
- Dockerfile 2.6%
- Makefile 2.3%
|
All checks were successful
ci/woodpecker/push/preflight Pipeline was successful
Reviewed-on: #86 Co-authored-by: sp1thas <[email protected]> Co-committed-by: sp1thas <[email protected]> |
||
|---|---|---|
| .woodpecker | ||
| docs | ||
| snap | ||
| src | ||
| tests | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| docker-compose.yaml | ||
| Dockerfile | ||
| LICENSE | ||
| Makefile | ||
| mkdocs.yml | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
dropboxignore
A tiny CLI utility to keep unwanted files and folders out of your Dropbox sync, using familiar glob patterns and your existing .gitignore files.
CI Status • Coverage • Docs • Snap
Features
- Use glob patterns in .dropboxignore files to ignore folders and files.
- Auto-generate .dropboxignore from existing .gitignore files (no exception patterns allowed for safety).
- One-shot command to generate, update, and ignore (genupi).
- Revert previously ignored paths.
- List ignored items and delete .dropboxignore files when needed.
Note: The .dropboxignore file is used by this tool to instruct Dropbox to ignore matches. It is not used by Dropbox itself.
Installation
See the full Installation guide for more options and details: https://sp1thas.codeberg.page/dropboxignore/installation
Kickstart script
| Method | Command |
|---|---|
| curl | sudo sh -c "$(curl -fsSL https://rb.gy/nnp9p9)" c |
| wget | sudo sh -c "$(wget -qO- https://rb.gy/nnp9p9)" w |
Worried about the short URL? It points to this script: https://codeberg.org/sp1thas/dropboxignore/raw/branch/master/src/utils/install.sh
Snap
snap install dropboxignore
Flatpak
flatpak install flathub me.simakis.dropboxignore`
From source
git clone https://codeberg.org/sp1thas/dropboxignore.git`
cd dropboxignore`
make test # optional; requires Docker and docker-compose`
sudo make install
Uninstall
sudo make uninstall
Quickstart
A typical workflow:
- Generate .dropboxignore files from .gitignore files.
- Optionally edit or add your own .dropboxignore files.
- Ignore matched files based on .dropboxignore files.
Run the whole flow with one command:
- dropboxignore genupi .
Important warning: To prevent data loss, exception patterns are not supported. Any .gitignore or .dropboxignore file that contains at least one exception pattern will be skipped. Details: #3
More examples and tips: https://sp1thas.codeberg.page/dropboxignore/getting-started/
Command Line Interface
Full CLI reference with examples and screenshots: https://sp1thas.codeberg.page/dropboxignore/cli
A few screenshots from the docs:
Contributing
We welcome contributions of all kinds. Please read the contribution guide: https://sp1thas.codeberg.page/dropboxignore/contributing
License
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgements
- Logo is based on papirus-icon-theme: https://github.com/PapirusDevelopmentTeam/papirus-icon-theme


