projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87332c4
)
validate dump output with xmllint
author
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 12 Jan 2015 14:26:22 +0000
(14:26 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 12 Jan 2015 14:26:22 +0000
(14:26 +0000)
zebra/Makefile
patch
|
blob
|
history
diff --git
a/zebra/Makefile
b/zebra/Makefile
index
889a270
..
0ddd342
100644
(file)
--- a/
zebra/Makefile
+++ b/
zebra/Makefile
@@
-46,6
+46,7
@@
dump:
mkdir records-${DATE}
cd records-${DATE} && ../../bin/irspy-dump.pl ${IRSPY_DATABASE}
#cd records-${DATE}; for i in *.xml; do echo -n "$$i "; tidy -xml -i -m -w 140 $$i 2>&1 | sed 1q; done
+ find records-${DATE} -name '*.xml' -print0 | xargs -n16 -0 -P4 xmllint -format >/dev/null
tar cf - records-${DATE} | gzip > records-${DATE}.tar.gz
clean: