#!/bin/sh

src=/home/projects/maven/repository-staging/pom-svn-repository
dest=/home/projects/maven/repository-staging/to-ibiblio/maven2

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 
  md5sum $dest/$f > $dest/$f.md5 ; 
  sha1sum $dest/$f > $dest/$f.sha1;
done

#!/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 
  md5sum $dest/$f > $dest/$f.md5 ; 
  sha1sum $dest/$f > $dest/$f.sha1;
done

Allow sync of subfolders only
Allow sync of subfolders only

git-svn-id: 2c527eb49caa05e19d6b2be874bf74fa9d7ea670@358940 13f79535-47bb-0310-9956-ffa450edef68
