Modification des scripts de sync

This commit is contained in:
Damien Broqua 2022-04-18 23:36:58 +02:00
parent cb8207f9e3
commit c74cef7e2c
2 changed files with 2 additions and 2 deletions

View file

@ -37,6 +37,7 @@ ARGS='-avz --delete
--exclude /.local
--exclude /.DataGrip*
--exclude /.eclipse
--exclude /sshfs
--exclude /OneDrive'
ORIG='/home/dbroqua/'
DEST=''
@ -99,4 +100,3 @@ else
echo `date` > ${ORIG}lastFailBackup
echo "Method: ${TYPE}" >> ${ORIG}lastFailBackup
fi

View file

@ -1,5 +1,5 @@
#! /bin/bash
chmod a+r ~/Music/**/*.flac ~/Music/**/*.mp3
find ~/Music -type f \( -iname \*.flac -o -iname \*.mp3 \) -print -exec chmod go+r {} \;
rsync -avz --delete ~/Music dmc-12:/srv/dev-disk-by-label-storage/medias/