Link cover

This commit is contained in:
RealStickman 2021-01-21 19:23:43 +01:00
parent fbdc86ec23
commit c576b3b60e

View File

@ -27,6 +27,10 @@ while read -r dir; do
if [[ $(ls | grep ".opus") ]]; then if [[ $(ls | grep ".opus") ]]; then
ffmpeg-normalize *.opus -v -pr -c:a libopus -ext opus & ffmpeg-normalize *.opus -v -pr -c:a libopus -ext opus &
fi fi
# link cover.jpg
if [[ -f cover.jpg ]]; then
ln -vf "$HOME/MusikRaw/$dir/cover.jpg" "$HOME/Musik/$dir/"
fi
cd "$HOME/MusikRaw" cd "$HOME/MusikRaw"
# create directory # create directory
mkdir -p "$HOME/Musik/$dir" mkdir -p "$HOME/Musik/$dir"