root/other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/FILE-SIZE-CHECK.sh @ 31161

Revision 31161, 164 bytes (checked in by davidb, 4 years ago)

Comparison of local disk version with HDFS version

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3for f in `ls -rt ef-full-*txt` ; do
4  f_txt=${f#ef-full-}
5  d=${f_txt%.*}
6  fs=`cat $f | awk '{ sum += $1 } END { print sum}' `
7  echo "$fs $d"
8done
Note: See TracBrowser for help on using the browser.