9 if [ -z "$t1" -o -z "$t2" ]; then
10 echo "Usage: $0 'Generate timestamp' 'Submit timestamp'" 1>&2
15 From: "Robin H. Johnson" <rjohnson@sitka.bclibraries.ca>
16 Subject: UCN EBSCO export $(date +%Y/%m/%d -d "$t1") notification
17 To: "Daniel Mertens" <danielmertens@ebsco.com>, "Kathy Ellerton" <kellerton@ucn.ca>, "Jessica Carmody" <jcarmody@EBSCO.COM>
18 Cc: "Robin H. Johnson" <rjohnson@sitka.bclibraries.ca>, "Sharon Herbert" <sherbert@sitka.bclibraries.ca>
20 Full automated UCN EBSCO export
22 Please remember to review the shortcodes*csv file for any new shortcodes.
25 (none, this was automated)
27 Directory for uploads:
39 Compressed sizes in bytes:
40 $(head -n2 *stats | awk '/.marc.bz2$/{print $9,$5}')
42 Uncompressed size in bytes:
43 $(head -n2 *stats | awk '/.marc$/{print $9,$5}')
44 $(find -name '*.csv' -printf '%f %s\n')
46 Number of records submitted:
47 $(grep -h Filename -A5 $i *stats | awk '/.marc$/{print $3,$1}')
50 $(egrep '^[a-f0-9]{32}' *stats -h |sort -k +2)