Mercurial > hg > LGDataverses
comparison scripts/search/populate-users @ 10:a50cf11e5178
Rewrite LGDataverse completely upgrading to dataverse4.0
| author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
|---|---|
| date | Tue, 08 Sep 2015 17:00:21 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 9:5926d6419569 | 10:a50cf11e5178 |
|---|---|
| 1 #!/bin/bash | |
| 2 BASEDIR='scripts/search' | |
| 3 USERDIR='data/in/users' | |
| 4 FULL_USERDIR="$BASEDIR/$USERDIR" | |
| 5 rm -rf $FULL_USERDIR | |
| 6 mkdir -p $FULL_USERDIR | |
| 7 cd $BASEDIR | |
| 8 count=1; ./tab2json-users users.tsv | while read i; do echo $i | python -m json.tool > $USERDIR/$count; let count++; done |
