Modification des scripts de sync
This commit is contained in:
parent
cb8207f9e3
commit
c74cef7e2c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue