|
|
@ -8,8 +8,6 @@ set -e
|
|
|
|
source="$HOME/kskcloud/Musik/"
|
|
|
|
source="$HOME/kskcloud/Musik/"
|
|
|
|
export destination="$HOME/Musik.tiny/"
|
|
|
|
export destination="$HOME/Musik.tiny/"
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p "$destination"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd "$source"
|
|
|
|
cd "$source"
|
|
|
|
|
|
|
|
|
|
|
|
# create directory structure
|
|
|
|
# create directory structure
|
|
|
@ -19,4 +17,4 @@ find . -type d -exec mkdir -p "$destination/{}" \;
|
|
|
|
# compress with opus
|
|
|
|
# compress with opus
|
|
|
|
set +e
|
|
|
|
set +e
|
|
|
|
find . -type f -not -name '*.opus' | parallel --eta --progress 'ffmpeg -v 0 -n -i ""{}"" -c:a libopus -map_metadata 0 -b:a 128k ""$destination/{.}.opus""'
|
|
|
|
find . -type f -not -name '*.opus' | parallel --eta --progress 'ffmpeg -v 0 -n -i ""{}"" -c:a libopus -map_metadata 0 -b:a 128k ""$destination/{.}.opus""'
|
|
|
|
#set -e
|
|
|
|
#set -e
|
|
|
|