Skip to content

dustpan

pypi version downloads build status python versions format license

Description

Clean up your workspace by removing extraneous files and directories.

Installation

With Python installed, simply run the following command to add the package to your project.

1
python -m pip install dustpan

Usage

This is a command-line program, and can be executed as follows:

1
dustpan [-h] [-p PATTERNS [PATTERNS ...]] [-i IGNORE [IGNORE ...]] [--remove-empty-directories] [-q | -v | -vv] directories [directories ...]

Positional arguments:

1
  directories           Root directories to search

Optional arguments:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  -h, --help            show this help message and exit
  -p PATTERNS [PATTERNS ...], --patterns PATTERNS [PATTERNS ...]
                        Additional path patterns to queue for removal
  -i IGNORE [IGNORE ...], --ignore IGNORE [IGNORE ...]
                        Path patterns to exclude from removal
  --remove-empty-directories
                        Remove all childless directories
  -q, --quiet           Be quiet
  -v, --verbose         Be more verbose
  -vv, --very-verbose   Be very verbose

Feel free to check out the docs for more information on how to use this package.

License

This software is released under the terms of MIT license.