Mise à jour des règles de synchronisation

This commit is contained in:
Damien Broqua 2022-05-22 10:48:10 +02:00
parent 72b4b5cefc
commit e75401ab6f
2 changed files with 4 additions and 2 deletions

View file

@ -12,6 +12,8 @@ ARGS='-avz --delete
--exclude /tmp --exclude /tmp
--exclude /fonts --exclude /fonts
--exclude /Music --exclude /Music
--exclude /Vinyles
--exclude /Videos
--exclude /node_modules --exclude /node_modules
--exclude /snap --exclude /snap
--exclude /.local/share/Trash --exclude /.local/share/Trash

View file

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