Skip to content

iansedano/dot-dropbox-ignore

Repository files navigation

DotDropboxIgnore

A cross-platform module to facilitate ignoring files and folders in a Dropbox folder.

Tested on Windows and Linux (Fedora).

Installation

Installation not strictly required, Python 3.9+.

To make it easier to call the utility, clone this repository and then install it with pip:

python -m pip install dot-dropbox-ignore

Now you can call either:

$ python -m dropboxignore

or

$ dbignore

From anywhere you have access to your Python installation.

If managing multiple versions of Python can be useful to install with pipx.

pipx install dot-dropbox-ignore

Usage

The default command without any arguments will search for all files and folders recursively from the current working directory that match the default .dropboxignore file in the current working directory.

You can also pass in explicit arguments for the path to use as root and a custom .dropboxignore file.

dbignore C:\Dropbox C:\Dropbox\.dropboxignore

Just beware that trying to scan a whole Dropbox will take considerable time.

Development

Development commands:

# Install dev requirements
python -m pip install -r dev-requirements.in

# Install the package in editable mode (from the root of the repository)
python -m pip install -e .

tox run # for tests and lint

python -m build # to build the package

twine upload -r testpypi dist/* # to upload to testpypi

twine upload dist/* # to upload to pypi

About

A cross-platform utility to ignore Dropbox files and folders from sync.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages