Allow sync of subfolders only

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@358940 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2005-12-24 17:43:44 +00:00
parent b248997b7f
commit a06b58fd7d
1 changed files with 10 additions and 0 deletions

View File

@ -1,8 +1,18 @@
#!/bin/sh
GROUPID=$1
src=/home/projects/maven/repository-staging/pom-svn-repository
dest=/home/projects/maven/repository-staging/to-ibiblio/maven2
if [ ! -z $GROUPID ]
then
src=$src/$GROUPID
dest=$src/$GROUPID
fi
rsync -e ssh -v -rpt --exclude=.svn --exclude=updated-poms.log $src/ $dest/ > $src/updated-poms.log
for f in `grep .pom $src/updated-poms.log` ; do