Compare commits

..

No commits in common. "6122d8d5766f23883f588d856e22b2fe87431adf" and "9ef26d9eabbc4117ca615db6b94a54c1051ba848" have entirely different histories.

2 changed files with 0 additions and 19 deletions

View file

@ -1,16 +0,0 @@
#! /bin/bash
if [ "$#" -ne 2 ]; then
echo Usage: createLp.sh \"artist/album\" https://cover
exit 1
fi
cd ~/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}"

View file

@ -1,10 +1,7 @@
#! /bin/bash
echo "# Correction des permissions"
find ~/Music -type f \( -iname \*.flac -o -iname \*.mp3 \) -perm 600 -print -exec chmod go+r {} \;
echo "# Copie des CDs"
rsync -avz --delete ~/Music dmc-12:/srv/dev-disk-by-uuid-52e1df75-7a38-4ba4-a590-2f1075e84ff3/medias/
echo "# Copie des vinyles"
rsync -avz --delete ~/Vinyles dmc-12:/srv/dev-disk-by-uuid-52e1df75-7a38-4ba4-a590-2f1075e84ff3/medias/