#!/bin/bash

dir=/home/maven/repository-staging/to-ibiblio
repocleanhome=$HOME/repository-tools/repoclean
log=$repocleanhome/last-changes.log

src=maven2-repoclean
dst=maven2

$repocleanhome/repoclean.sh ~/components/maven-meeper/src/bin/repoclean/synchronize.properties

rsync --ignore-existing -rvpl $dir/$src/ $dir/$dst/ > $log

for f in `cat $log | grep maven-metadata.xml$` ; do
  md5sum $dir/$dst/$f > $dir/$dst/$f.md5;
  sha1sum $dir/$dst/$f > $dir/$dst/$f.sha1;
  md5sum $dir/$src/$f > $dir/$src/$f.md5;
  sha1sum $dir/$src/$f > $dir/$src/$f.sha1;
done

#!/bin/bash

dir=/home/maven/repository-staging/to-ibiblio
repocleanhome=$HOME/repository-tools/repoclean
log=$repocleanhome/last-changes.log

src=maven2-repoclean
dst=maven2

$repocleanhome/repoclean.sh ~/components/maven-meeper/src/bin/m1-m2-conversion/synchronize.properties

rsync --ignore-existing -rvpl $dir/$src/ $dir/$dst/ > $log

for f in `cat $log | grep maven-metadata.xml$` ; do
  md5sum $dir/$dst/$f > $dir/$dst/$f.md5;
  sha1sum $dir/$dst/$f > $dir/$dst/$f.sha1;
  md5sum $dir/$src/$f > $dir/$src/$f.md5;
  sha1sum $dir/$src/$f > $dir/$src/$f.sha1;
done

Use new location in script
Use new location in script

git-svn-id: f25645bd54002203a47bb62c0b0afba5efd98acb@463951 13f79535-47bb-0310-9956-ffa450edef68
