Crates.io | mack |
lib.rs | mack |
version | 1.4.1 |
source | src |
created_at | 2018-09-06 19:43:46.170938 |
updated_at | 2024-06-24 19:58:20.60731 |
description | An opinionated, fast music organiser. |
homepage | |
repository | https://github.com/cdown/mack |
max_upload_size | |
id | 83211 |
size | 39,861 |
mack is an opinionated, fast music organiser. It enforces:
--fmt
See --help
. An example invocation is:
% mack --dry-run -o Music .
01 Pyramid.mp3: renamed to Music/宇宙コンビニ/染まる音を確認したら/01 Pyramid.mp3
02 8films.mp3: renamed to Music/宇宙コンビニ/染まる音を確認したら/02 8films.mp3
03 tobira.mp3: renamed to Music/宇宙コンビニ/染まる音を確認したら/03 tobira.mp3
04 Compass.mp3: renamed to Music/宇宙コンビニ/染まる音を確認したら/04 Compass.mp3
05 strings.mp3: renamed to Music/宇宙コンビニ/染まる音を確認したら/05 strings.mp3
You can see what would be changed first using --dry-run
.
cargo install mack
mack has a strong focus on performance. Files which were not updated since the last mack run will not be examined at all. On a sample modern laptop with a mid-spec SSD, this means that we only take 0.005 seconds to run over ~3500 files under most circumstances (0.015 seconds on the very first run).
If you don't want a particular file to be touched by mack, add _NO_MACK
as a
substring anywhere in the comment tag.