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: SITKA Outlook export $(date +%Y/%m/%d -d "$t1") (includes ELN media/serials)
17 To: Martin Mari <Mari.Martin@gov.bc.ca>, Ramiro Castillo <rcr@auto-graphics.com>, Heather Morrison <heatherm@eln.bc.ca>
18 Cc: "Robin H. Johnson" <rjohnson@sitka.bclibraries.ca>, Ben Hyman <ben.hyman@cooperative.bclibraries.ca>, sherbert@sitka.bclibraries.ca
20 Full automated Outlook 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)