| Crates.io | mirrorman |
| lib.rs | mirrorman |
| version | 0.4.1 |
| created_at | 2024-04-12 00:20:31.060515+00 |
| updated_at | 2025-03-17 14:03:28.199098+00 |
| description | Media conversion and mirror tool |
| homepage | https://github.com/LennyPhoenix/mirrorman |
| repository | https://github.com/LennyPhoenix/mirrorman |
| max_upload_size | |
| id | 1205691 |
| size | 38,755 |
MirrorMan aims to provide a seamless solution for mirroring and converting a large hierarchy of files.
You might use this for:
example_filter.sh)To make a new mirror: mirrorman init {source} {mirror_path} [filters...]
To sync existing mirrors, from within a directory with .mmdb files: mirrorman sync
Filters are the core of the conversion side of things.
They tell mirrorman if a file should be converted and the new file extension after conversion.
(They also perform the actual important conversion part.)
A filter is just an executable program that has two operation modes:
{filter} ext {input_extension} -> output_extension: Prints the desired extension, or returns an error code if the filter doesn't care about the input file.{filter} run {input} {ouput}: Converts the input file to the output file.It's really that simple!
Refer to the example filter for specifics.