--------<кусь>--------
>
#!/bin/bash
>
cuebreakpoints $1 | \
>
shnsplit -o 'flac flac -6 -o %f -' $2 && \
>
cuetag $1 split*.flac && \
>
find . -maxdepth 1 -name "split*.flac" -print0 | xargs -0 metaflac
> --add-replay-gain && \
>
lltag --yes --no-tagging --rename "%n - %t" split*.flac
>
--------<кусь>--------
>


Запустил на пробу из целевой папки (где ape и cue лежат). Получил ошибку:

-: unknown file suffix
cuebreakpoints: error: unable to parse input file "-"
shnsplit: error: need exactly one file to process
shnsplit:
shnsplit: type 'shnsplit -h' for help

:(

Ответить