From b0dd2ce4dfba7059803abd946e264a04e9d72c24 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Tue, 3 Sep 2013 10:02:45 +0000 Subject: [PATCH] faster check --- zebra/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zebra/Makefile b/zebra/Makefile index 2c16619..dab1639 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -46,7 +46,8 @@ dump: -test -e records-${DATE} && mv records-${DATE} records-${DATE}.old mkdir records-${DATE} cd records-${DATE} && ../../bin/irspy-dump.pl ${IRSPY_DATABASE} - cd records-${DATE} && ( for i in *.xml; do tidy -xml -i -m -w 140 $$i; done ) > /dev/null 2>&1 + cd records-${DATE}; find . -name '*.xml' -print0 | \ + xargs -n1 -0 -P4 tidy -xml -i -m -w 140 > /dev/null 2>&1 tar cf - records-${DATE} | gzip > records-${DATE}.tar.gz clean: -- 1.7.10.4