Log changed files

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@428013 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2006-08-02 14:55:45 +00:00
parent c4c124d441
commit 1c056b5ae9
1 changed files with 15 additions and 1 deletions

View File

@ -18,6 +18,8 @@ else
fi
BASEDIR=$HOME/repository-staging/to-ibiblio/maven2
CHANGED_LOG=/tmp/sync-changed.log
rm $CHANGED_LOG
for f in `find conf -iname "*.sh"`
do
@ -44,4 +46,16 @@ for f in `find conf -iname "*.sh"`
rsync --include=*/ --include=**/maven-metadata.xml* --exclude=* --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt $RSYNC_OPTS -Lrtivz $RSYNC_SSH $FROM $BASEDIR/$TO
rsync --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt --ignore-existing $RSYNC_OPTS -Lrtivz $RSYNC_SSH $FROM $BASEDIR/$TO
done
# check for changed files
rsync -n --exclude=**/maven-metadata.xml* --exclude-from=$HOME/components/maven-meeper/src/bin/syncopate/exclusions.txt --existing $RSYNC_OPTS -Lrtivz $RSYNC_SSH $FROM $BASEDIR/$TO >> $CHANGED_LOG
done
echo "*******************************************************************************"
echo "******************************* CHANGED FILES *******************************"
echo "*******************************************************************************"
cat $CHANGED_LOG
echo "*******************************************************************************"
echo "*******************************************************************************"
echo "*******************************************************************************"