Atualizar main.sh
This commit is contained in:
parent
3b8d7e0fa7
commit
ef3b446acf
5
main.sh
5
main.sh
|
@ -1,10 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/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")
|
array=("DATE" "TOTALTRACKS" "TRACKNUMBER" "ALBUM" "ARTIST" "TITLE")
|
||||||
|
|
||||||
for i in *.flac; do
|
for i in *.flac; do
|
||||||
filename=${i%.*}
|
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
|
done
|
||||||
|
|
||||||
for n in ${array[@]}; do
|
for n in ${array[@]}; do
|
||||||
|
|
Loading…
Reference in a new issue