echo "Usage: $0 'Generate timestamp' 'Submit timestamp'" 1>&2
fi
+FILELIST=`cat Manifest`
+
# illsupport@bclibrary.ca goes to Mari.Martin@gov.bc.ca and Bob.Yuan@gov.bc.ca
cat <<EOF
Date: $(date -uR)
(none, this was automated)
Directory for uploads:
-sitka/$T
+sitka/
Submission timestamp:
$(date -uR -d "$t2")
$(date -uR -d "$t1")
Submission method:
-FTP
+WebDAV
Compressed sizes in bytes:
$(head -n2 *stats | awk '/.marc.bz2$/{print $9,$5}')
Number of records submitted:
$(grep -h Filename -A5 $i *stats | awk '/.marc$/{print $3,$1}')
+Files uploaded:
+$FILELIST
+
SHA1 checksums:
$(egrep '^[a-f0-9]{32}' *stats -h |sort -k +2)
$(sha1sum *.csv)