From 2b99fe6244afd7ca7491bfa38f5a2754abe13895 Mon Sep 17 00:00:00 2001 From: lub Date: Tue, 30 Oct 2018 10:37:49 +0100 Subject: [PATCH] remove unneccessary $destination creation --- compress-music.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compress-music.sh b/compress-music.sh index f2276ef..3e6aa3f 100755 --- a/compress-music.sh +++ b/compress-music.sh @@ -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 \ No newline at end of file +#set -e