Skip to main content

No project description provided

Project description

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 -e .

Now you can call:

python -m dropboxignore

From anywhere.

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

pipx install . # from within folder

So you can call:

dbignore

From anywhere.

Usage

Assuming that you have installed with pipx:

dropboxignore

Will search for all files and folders recursively from the current working directory that match the default .dropboxignore file in the module, which includes:

**/.git
**/node_modules
**/venv
**/env
**/__pycache__*
**/.pytest_cache*

**/*.manifest
**/*.spec
**/build
**/dist
**/*.egg-info*

Which you can modify yourself if you want to customize it, just note that they need to be valid glob patterns.

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dot-dropbox-ignore-0.1.0.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

dot_dropbox_ignore-0.1.0-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page