Skip to content

Script: cr rerun convert sh.sh

timrdf edited this page Mar 15, 2011 · 6 revisions

bin/cr-rerun-convert-sh.sh

Running without parameters will show usage:

[lebot@sam data-gov]$ cr-rerun-convert-sh.sh 
usage: cr-rerun-convert-sh.sh [-n] [-con {raw,e1,e2...,cr:ALL}] [-sourceDir {source,manual}] \
       [[cr:ALL] | datasetIdentifier [datasetIdentifier] ...]

Remove everything in:
 source/SSS/DDD/version/VVV/automatic/* and
 source/SSS/DDD/version/VVV/publish/* 
Rerun raw and all enhancement conversions using
 source/SSS/DDD/version/VVV/automatic/convert-DDD.sh if it is present.

   -n:         dry run; do not actually run scripts.
   -con:       conversion identifier to publish (raw, e1, e2, ...) (if not specified, runs all.)
   -sourceDir: if specified, replace source/SSS/DDD/version/VVV/automatic/convert-DDD.sh 
               with a newly-generated convert-DDD.sh for CSVs in the {source,manual} directory.
Clone this wiki locally