aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/extra-rsync.bat
blob: 909b35dd178ed0382c04086c5c42137af79760e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
REM uses http://setacl.sourceforge.net/

cd \MinGW\msys\1.0\home\pd\

REM echo y|cacls c:\MinGW\msys\1.0\home\pd\auto-build /C /T /G pd:F everyone:R 

setacl -on c:\MinGW\msys\1.0\home\pd\auto-build -ot file -actn ace -ace "n:pd;p:full,write_owner;i:so,sc;m:set" -ace "n:everyone;p:read;i:so,sc;m:set"

REM Cygwin rsync seems to be unhappy with SVN's .svn file permissions, so
REM ignore SVN files first to get all the 'meat'
rsync -av --progress --whole-file --exclude='*inv\**' --cvs-exclude --timeout=60 rsync://128.238.56.50/distros/pd-extended/ /cygdrive/c/MinGW/msys/1.0/home/pd/auto-build/pd-extended/

sleep 60

REM now get the SVN changes, this might fail a lot, especially on '.svn/entries'
rsync -av --progress --whole-file --delete-before --exclude='*inv\**' --timeout=60 rsync://128.238.56.50/distros/pd-extended/ /cygdrive/c/MinGW/msys/1.0/home/pd/auto-build/pd-extended/