Skip to content
Snippets Groups Projects
Commit 3bb43631 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

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

parent 6cbce1cc
No related branches found
No related tags found
No related merge requests found
#!/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
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