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 /.local
|
||||||
--exclude /.DataGrip*
|
--exclude /.DataGrip*
|
||||||
--exclude /.eclipse
|
--exclude /.eclipse
|
||||||
|
--exclude /sshfs
|
||||||
--exclude /OneDrive'
|
--exclude /OneDrive'
|
||||||
ORIG='/home/dbroqua/'
|
ORIG='/home/dbroqua/'
|
||||||
DEST=''
|
DEST=''
|
||||||
|
@ -99,4 +100,3 @@ else
|
||||||
echo `date` > ${ORIG}lastFailBackup
|
echo `date` > ${ORIG}lastFailBackup
|
||||||
echo "Method: ${TYPE}" >> ${ORIG}lastFailBackup
|
echo "Method: ${TYPE}" >> ${ORIG}lastFailBackup
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#! /bin/bash
|
#! /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/
|
rsync -avz --delete ~/Music dmc-12:/srv/dev-disk-by-label-storage/medias/
|
||||||
|
|
Loading…
Reference in a new issue