# mediavert

[<img alt="github" src="https://img.shields.io/badge/github-udoprog/mediavert-8da0cb?style=for-the-badge&logo=github" height="20">](https://github.com/udoprog/mediavert)
[<img alt="crates.io" src="https://img.shields.io/crates/v/mediavert.svg?style=for-the-badge&color=fc8d62&logo=rust" height="20">](https://crates.io/crates/mediavert)
[<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-mediavert-66c2a5?style=for-the-badge&logoColor=white&logo=data:image/svg+xml;base64, " height="20">](https://docs.rs/mediavert)
[<img alt="build status" src="https://img.shields.io/github/actions/workflow/status/udoprog/mediavert/ci.yml?branch=main&style=for-the-badge" height="20">](https://github.com/udoprog/mediavert/actions?query=branch%3Amain)

A tool to perform batch conversion of media.

This combines several tools as subcommands:
* [`bookvert`] ([git][bookvert-git]) - `convert books` which is a tool to convert
  directories of images into `.cbz` books.
* [`audiovert`] ([git][audiovert-git]) - `convert music` which is a tool to convert
  tagged or untagged music from one format and directory structure to
  another.

<br>

## Examples

You can run the included example like this:

```sh
cargo run --release -- audio --meta -D examples/unsorted --to examples/sorted
```

[`bookvert`]: https://crates.io/crates/bookvert
[bookvert-git]: https://github.com/udoprog/mediavert/tree/main/crates/bookvert
[`audiovert`]: https://crates.io/crates/audiovert
[audiovert-git]: https://github.com/udoprog/mediavert/tree/main/crates/audiovert
