[cig-commits] r15713 - doc/geodynamics.org/benchmarks/trunk
luis at geodynamics.org
luis at geodynamics.org
Wed Sep 30 15:06:37 PDT 2009
Author: luis
Date: 2009-09-30 15:06:37 -0700 (Wed, 30 Sep 2009)
New Revision: 15713
Added:
doc/geodynamics.org/benchmarks/trunk/upload.sh
doc/geodynamics.org/benchmarks/trunk/upload.txt
Log:
Upload list of files
Added: doc/geodynamics.org/benchmarks/trunk/upload.sh
===================================================================
--- doc/geodynamics.org/benchmarks/trunk/upload.sh (rev 0)
+++ doc/geodynamics.org/benchmarks/trunk/upload.sh 2009-09-30 22:06:37 UTC (rev 15713)
@@ -0,0 +1,39 @@
+#!/bin/bash
+#
+# This script uploads the resulting html pages into plone.
+#
+
+source ./common.sh
+
+for html in $(find . -name '*.html'); do
+
+ # strip out leading ./ from the relative filename
+ path=$(echo $html | sed sq^\./qqg)
+
+ # which collection to
+ coll=$(dirname $path)
+
+ # figure out the base name
+ base=$(basename $path .html)
+ if [ "$base" == "index" ]; then
+ base="index_html"
+ fi
+
+ # figure out the document title
+ rst="./${coll}/${base}.rst"
+
+ # build the target url
+ url="${benchroot}/${coll}/${base}"
+
+ echo "Uploading ${html}"
+
+ #echo "Uploading ${html}"
+ #echo " url = ${url}"
+ #nd -p ${html} ${url}
+
+ # set the title
+ #echo " title = ${title}"
+ #nd -e title="${title}" -N ${zopens} $url
+
+done
+
Property changes on: doc/geodynamics.org/benchmarks/trunk/upload.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: doc/geodynamics.org/benchmarks/trunk/upload.txt
===================================================================
--- doc/geodynamics.org/benchmarks/trunk/upload.txt (rev 0)
+++ doc/geodynamics.org/benchmarks/trunk/upload.txt 2009-09-30 22:06:37 UTC (rev 15713)
@@ -0,0 +1,37 @@
+./geodyn/index.html
+./long/index.html
+./long/falling-sphere.html
+./long/circular-inclusion.html
+./long/relaxation-topography.html
+./long/divergence.html
+./long/drucker-prager.html
+./long/geomod2004.html
+./long/geomod2008.html
+./magma/index.html
+./magma/mckenzie-equations.html
+./magma/running-stgmadds.html
+./magma/milestone1.html
+./magma/milestone2.html
+./magma/milestone3.html
+./magma/milestone4.html
+./magma/milestone5.html
+./mc/index.html
+./mc/2d-cartesian/index.html
+./mc/2d-cartesian/suite1.html
+./mc/2d-cartesian/suite2.html
+./mc/2d-cartesian/suite3.html
+./mc/2d-cartesian/suite4.html
+./mc/3d-spherical/index.html
+./seismo/index.html
+./short/index.html
+./short/overview.html
+./short/strikeslip/index.html
+./short/strikeslip/description-ss.html
+./short/strikeslip/plots/index.html
+./short/rs-nog/description-rs-nog.html
+./short/rs-nog/plots/index.html
+./short/rs/description-rs.html
+./short/rs/results/index.html
+./short/landers/description-landers.html
+./short/savage-prescott/index.html
+./short/utilities/index.html
More information about the CIG-COMMITS
mailing list