9 if [ -z "$t1" -o -z "$t2" ]; then
10 echo "Usage: $0 'Generate timestamp' 'Submit timestamp'" 1>&2
13 # illsupport@bclibrary.ca goes to Mari.Martin@gov.bc.ca and Bob.Yuan@gov.bc.ca
16 From: "SITKA sysop" <sysop@bc.libraries.coop>
17 Subject: SITKA Outlook export $(date +%Y/%m/%d -d "$t1") (includes ELN media/serials)
18 To: "BC Public Libraries" <illsupport@bclibrary.ca>, "Sunni Nishimura" <sunnin@eln.bc.ca>, "Ramiro Castillo" <rcr@auto-graphics.com>
19 Cc: "SITKA sysop" <sysop@bc.libraries.coop>, "Sharon Herbert" <sherbert@sitka.bclibraries.ca>
21 Full automated Outlook export
23 Please remember to review the shortcodes*csv file for any new shortcodes.
26 (none, this was automated)
28 Directory for uploads:
40 Compressed sizes in bytes:
41 $(head -n2 *stats | awk '/.marc.bz2$/{print $9,$5}')
43 Uncompressed size in bytes:
44 $(head -n2 *stats | awk '/.marc$/{print $9,$5}')
45 $(find -name '*.csv' -printf '%f %s\n')
47 Number of records submitted:
48 $(grep -h Filename -A5 $i *stats | awk '/.marc$/{print $3,$1}')
51 $(egrep '^[a-f0-9]{32}' *stats -h |sort -k +2)