-
Notifications
You must be signed in to change notification settings - Fork 36
Script: cr rerun convert sh.sh
Timothy Lebo edited this page Feb 14, 2012
·
6 revisions
csv2rdf4lod-automation is licensed under the [Apache License, Version 2.0](https://github.com/timrdf/csv2rdf4lod-automation/wiki/License)
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.
Note: #157 requests to include the option of running this from within the csv2rdf4lod automation data root instead of just within one source organization's directory.