Skip to content

Commit

Permalink
index.csv: naked object ids
Browse files Browse the repository at this point in the history
  • Loading branch information
kjell committed Jul 30, 2015
1 parent 2ba48d6 commit f693956
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ departments:
index.csv:
find objects -name "*.json" | xargs cat | jq -s -c '.' \
| json2csv --fieldList <(jq -r 'to_entries | map(.key) | .[]' objects/0/0.json) \
| sed 's|http://api.artsmia.org/objects/||g' \
> index.csv

.PHONY: objects git count departments index.csv

0 comments on commit f693956

Please sign in to comment.