Metadata-Version: 2.4
Name: cleanrbx
Version: 1.2
Summary: Delete files from a Rekordbox folder not present in exported Rekordbox XML.
Author-email: Ádám Vincze <edboyww@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/edboyww/python-clean-rb-folder-by-xml
Project-URL: Repository, https://github.com/edboyww/python-clean-rb-folder-by-xml
Project-URL: Issues, https://github.com/edboyww/python-clean-rb-folder-by-xml/issues
Keywords: rekordbox,xml,cleanup
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Multimedia :: Sound/Audio
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: prompt-toolkit>=3.0

# cleanrbx

cleanrbx compares a Rekordbox XML export against a folder on disk and finds files that are no longer referenced by your Rekordbox library.

## Features

- Simulation mode by default (safe preview)
- Optional deletion mode with confirmation
- Path filtering with `--skip`
- Detailed output on screen or in a file
- XML path validation with `--check-xml`
- Interactive folder selection when `--folder` is not provided

## Installation

```bash
pip install cleanrbx
```

## Quick Start

Simulate what would be removed:

```bash
cleanrbx rekordbox.xml
```

Clean a specific folder:

```bash
cleanrbx rekordbox.xml --folder "D:\\Music\\Rekordbox" --clean
```

Skip selected path fragments:

```bash
cleanrbx rekordbox.xml --skip backups,samples
```

Check XML paths that do not exist locally:

```bash
cleanrbx rekordbox.xml --check-xml
```

Show all options:

```bash
cleanrbx --help
```

## Notes

- Streaming URLs in the XML are ignored.
- `--clean` deletes files, so run without it first to review results.
- Back up your library before using deletion mode.
