From ef3b446acf96ee871437992670792b3d12bb7972 Mon Sep 17 00:00:00 2001 From: mitsudori Date: Tue, 26 Nov 2024 08:25:04 +0000 Subject: [PATCH] Atualizar main.sh --- main.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index f078ed8..95d9047 100644 --- a/main.sh +++ b/main.sh @@ -1,10 +1,11 @@ #!/usr/bin/env bash - +# The getopt are for extra param, i like to use -x6 for extra encode processing +# You can read more on the docs: https://www.wavpack.com/wavpack_doc.html array=("DATE" "TOTALTRACKS" "TRACKNUMBER" "ALBUM" "ARTIST" "TITLE") for i in *.flac; do filename=${i%.*} - flac --decode -c "$i" | wavpack -i "-" -hhb2 -y -o "$filename.wv"; + flac --decode -c "$i" | wavpack -i $1 "-" -hhb2 -y -o "$filename.wv"; done for n in ${array[@]}; do