added sync file

This commit is contained in:
g4b0 2013-03-29 09:56:19 +01:00
parent ac1e61faae
commit dbbbf89be3
3 changed files with 24 additions and 0 deletions

14
not_rsync_up Normal file
View File

@ -0,0 +1,14 @@
#############################
### Sync file
#############################
not_rsync_up
not_rsync_down
syncUpTest.sh
syncUp.sh
syncDownTest.sh
syncDown.sh
#############################
### File da escludere
#############################
.git
.gitignore

5
syncUp.sh Executable file
View File

@ -0,0 +1,5 @@
#/bin/sh
dir=${PWD##*/}
/usr/bin/rsync -carvut -e 'ssh' --progress --stats --exclude-from=not_rsync_up --delete \
./* \
/home/g4b0/Develop/SilverStripeModules/$dir

5
syncUpTest.sh Executable file
View File

@ -0,0 +1,5 @@
#/bin/sh
dir=${PWD##*/}
/usr/bin/rsync -ncarvut -e 'ssh' --progress --stats --exclude-from=not_rsync_up --delete \
./* \
/home/g4b0/Develop/SilverStripeModules/$dir