Ajout de messages

This commit is contained in:
Damien Broqua 2022-06-03 05:32:27 +02:00
parent 9ef26d9eab
commit 4304f30d2a

View file

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