comparison package @ 12:3f627519a92d stable-0-5-2

properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
author carl
date Sat, 18 Feb 2006 09:56:00 -0800
parents
children ac98f448b6ab
comparison
equal deleted inserted replaced
11:bf12a9d4524c 12:3f627519a92d
1 #!/bin/bash
2
3 pst=outlook.pst
4
5 cp /home/ldap/$pst .
6 chown --recursive root:root *
7 make clean
8 make all
9 chown --recursive carl:carl *
10
11 if [ -f pst2ldif ]; then
12 ./pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' $pst >ams.ldif
13 ./readpstlog pst2ldif.log | less >my.log
14 hexdump -C $pst >pst.dump
15
16 grep '^dn:' ams.ldif | sort >aaa
17 grep '^dn:' /home/ldap/ams.ldif | sort >bbb
18 echo 'differences from nightly ldap'
19 diff aaa bbb
20 echo 'end differences'
21 rm -f aaa bbb
22 fi