From: Wolfram Schneider Date: Mon, 12 Jan 2015 14:26:22 +0000 (+0000) Subject: validate dump output with xmllint X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=dcfbf4aafc0857477f9970b8e825b30a3aa624bb;p=irspy-moved-to-github.git validate dump output with xmllint --- diff --git a/zebra/Makefile b/zebra/Makefile index 889a270..0ddd342 100644 --- 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: