X-Git-Url: https://code.communitydata.science/covid19.git/blobdiff_plain/5739d1c4042bc57aa8b3da46158704454ae9692d..427eddd14163deea2f169a32d90cfcb7835f4ecc:/cron-wikipedia_revisions.sh?ds=inline diff --git a/cron-wikipedia_revisions.sh b/cron-wikipedia_revisions.sh index 71ee752..a53bc3f 100644 --- a/cron-wikipedia_revisions.sh +++ b/cron-wikipedia_revisions.sh @@ -7,11 +7,11 @@ date_string=$(date +%Y%m%d) revs_log="enwp-revisions-${date_string}.log" ./wikipedia/scripts/fetch_enwiki_revisions.py 2> >(tee wikipedia/logs/${rev_log}) -cp wikipedia/logs/${rev_log} /var/www/covid19/wikipedia/logs/ +mv wikipedia/logs/${revs_log} /var/www/covid19/wikipedia/logs/ revs_tsv="digobs_covid19-wikipedia-enwiki_revisions-${date_string}.tsv" -cp wikipedia/data/${revs_tsv} /var/www/covid19/wikipedia +mv wikipedia/data/${revs_tsv} /var/www/covid19/wikipedia revs_json="digobs_covid19-wikipedia-enwiki_revisions-${date_string}.json" xz wikipedia/data/${revs_json} -cp wikipedia/data/${revs_json}.xz /var/www/covid19/wikipedia +mv wikipedia/data/${revs_json}.xz /var/www/covid19/wikipedia