mirror of https://github.com/apache/archiva.git
o another random script floating around
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@471371 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a357494875
commit
4100399840
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
base=/home/projects/maven/repository-staging
|
||||
cd $base/to-ibiblio/maven2
|
||||
dest=$base/snapshots/maven2
|
||||
|
||||
find . -name '*SNAPSHOT*' -type d | while read t1
|
||||
do
|
||||
t2=`echo $t1 | sed 's#/[^/]*$##'`
|
||||
mkdir -p $dest/$t2
|
||||
mv $t1 $dest/$t2
|
||||
rmdir $t1
|
||||
done
|
Loading…
Reference in New Issue