Mise à jour des règles de synchronisation

master
Damien Broqua 4 months ago
parent 72b4b5cefc
commit e75401ab6f
  1. 2
      bin/rsync.sh
  2. 4
      bin/syncMusic.sh

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

@ -1,5 +1,5 @@
#! /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/

Loading…
Cancel
Save