source:
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/FILE-SIZE-CHECK.sh@
31161
Last change on this file since 31161 was 31161, checked in by , 7 years ago | |
---|---|
|
|
File size: 164 bytes |
Rev | Line | |
---|---|---|
[31161] | 1 | #!/bin/bash |
2 | ||
3 | for 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" | |
8 | done |
Note:
See TracBrowser
for help on using the repository browser.