Commit 3bb43631 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Count number of entries dumped to gzip'd XML files.

parent 6cbce1cc
#!/bin/sh
gunzip -c *.xml.gz | grep '<entry_count>' | perl -e 'while (<>) {$_ =~ /\D+(\d+)\D+/; $t+=$1;} print "$t\n";'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment