Modification arborescence

This commit is contained in:
Damien Broqua 2022-09-05 08:39:31 +02:00
parent 134d17a713
commit 48afeca76f

View file

@ -5,12 +5,14 @@ if [ "$#" -ne 2 ]; then
exit 1
fi
cd ~/Music/Vinyles
cd ~
mkdir -p "Raw/${1}"
mkdir -p "Flac/${1}"
mkdir -p "Vinyles/${1}"
mkdir -p "Music/Vinyles/${1}"
wget ${2} -O /tmp/cover.jpg
cp /tmp/cover.jpg "Raw/${1}"
cp /tmp/cover.jpg "Flac/${1}"
cp /tmp/cover.jpg "Vinyles/${1}"
cp /tmp/cover.jpg "Music/Vinyles/${1}"
rm /tmp/cover.jpg