remove unneccessary $destination creation

master
lub 6 years ago
parent c9e9cc1fd2
commit 2b99fe6244

@ -8,8 +8,6 @@ set -e
source="$HOME/kskcloud/Musik/"
export destination="$HOME/Musik.tiny/"
mkdir -p "$destination"
cd "$source"
# create directory structure
@ -19,4 +17,4 @@ find . -type d -exec mkdir -p "$destination/{}" \;
# compress with opus
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""'
#set -e
#set -e

Loading…
Cancel
Save