Add failsafe

This commit is contained in:
RealStickman 2021-01-26 08:43:04 +01:00
parent ecfb3fb3b9
commit 328e964584

View File

@ -36,7 +36,11 @@ while read -r dir; do
fi
# make symbolic link to music
# if the "normalized" directory exists, links are created
if [[ -d "normalized" ]]; then
ln -svf "$HOME/MusikRaw/$dir/normalized/"* "$HOME/Musik/$dir/"
fi
# go back to music raw
cd "$HOME/MusikRaw"
done < directories