Commend linking in multi-ffmpeg

This commit is contained in:
RealStickman 2021-01-31 13:11:19 +01:00
parent 5a9c9c0b0f
commit 0402cd1fac

View File

@ -63,16 +63,20 @@ while read -r dir; do
ffmpeg-normalize *.opus -v -pr -c:a libopus -b:a 128k -ext opus & ffmpeg-normalize *.opus -v -pr -c:a libopus -b:a 128k -ext opus &
fi fi
# use music-create-links instead
: '
# link cover.jpg # link cover.jpg
if [[ -f cover.jpg ]]; then if [[ -f cover.jpg ]]; then
ln -vf "$HOME/MusikRaw/$dir/cover.jpg" "$HOME/Musik/$dir/" ln -vf "$HOME/MusikRaw/$dir/cover.jpg" "$HOME/Musik/$dir/"
fi fi
'
: '
# make symbolic link to music # make symbolic link to music
# if the "normalized" directory exists, links are created # if the "normalized" directory exists, links are created
if [[ -d "normalized" ]]; then if [[ -d "normalized" ]]; then
ln -svf "$HOME/MusikRaw/$dir/normalized/"* "$HOME/Musik/$dir/" ln -svf "$HOME/MusikRaw/$dir/normalized/"* "$HOME/Musik/$dir/"
fi fi
'
# go back to music raw # go back to music raw
cd "$HOME/MusikRaw" cd "$HOME/MusikRaw"