home/bin/createLP.sh

17 lines
258 B
Bash
Raw Normal View History

#! /bin/bash
if [ "$#" -ne 2 ]; then
echo Usage: createLp.sh \"artist/album\" https://cover
exit 1
fi
2022-06-25 19:37:17 +02:00
cd ~/Music/Vinyles
mkdir -p "Raw/${1}"
mkdir -p "Flac/${1}"
wget ${2} -O /tmp/cover.jpg
cp /tmp/cover.jpg "Raw/${1}"
cp /tmp/cover.jpg "Flac/${1}"