Modification arborescence
This commit is contained in:
parent
134d17a713
commit
48afeca76f
1 changed files with 7 additions and 5 deletions
|
@ -5,12 +5,14 @@ if [ "$#" -ne 2 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ~/Music/Vinyles
|
cd ~
|
||||||
|
|
||||||
mkdir -p "Raw/${1}"
|
mkdir -p "Vinyles/${1}"
|
||||||
mkdir -p "Flac/${1}"
|
mkdir -p "Music/Vinyles/${1}"
|
||||||
|
|
||||||
wget ${2} -O /tmp/cover.jpg
|
wget ${2} -O /tmp/cover.jpg
|
||||||
|
|
||||||
cp /tmp/cover.jpg "Raw/${1}"
|
cp /tmp/cover.jpg "Vinyles/${1}"
|
||||||
cp /tmp/cover.jpg "Flac/${1}"
|
cp /tmp/cover.jpg "Music/Vinyles/${1}"
|
||||||
|
|
||||||
|
rm /tmp/cover.jpg
|
||||||
|
|
Loading…
Reference in a new issue