comparison package @ 32:c03974357771

mege changes from Joe Nahmias
author carl
date Tue, 10 Jul 2007 18:18:38 -0700
parents b88ceb81dba2
children 7d5c637aaafb
comparison
equal deleted inserted replaced
31:b88ceb81dba2 32:c03974357771
54 fi 54 fi
55 else 55 else
56 tail -10 $distlog 56 tail -10 $distlog
57 fi 57 fi
58 chown --recursive carl:carl * 58 chown --recursive carl:carl *
59 args="--recursive -z -e ssh --times --perms --links --relative --owner --group --numeric-ids --delete" 59 #args="--recursive -z -e ssh --times --perms --links --relative --owner --group --numeric-ids --delete"
60 echo rsync $args $web ns1:/ 60 #echo rsync $args $web ns1:/
61 rsync $args $web ns1:/ 61 #rsync $args $web ns1:/
62 62 #
63 if [ -f /usr/local/bin/pst2ldif ]; then 63 #if [ -f /usr/local/bin/pst2ldif ]; then
64 pushd /home/ldap 64 # pushd /home/ldap
65 pst=outlook.pst 65 # pst=outlook.pst
66 #rm -f pst2ldif.log my.log 66 # #rm -f pst2ldif.log my.log
67 /usr/local/bin/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' $pst >ams.ldif2 67 # /usr/local/bin/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' $pst >ams.ldif2
68 #./readpstlog pst2ldif.log | less >my.log 68 # #./readpstlog pst2ldif.log | less >my.log
69 #hexdump -C $pst >pst.dump 69 # #hexdump -C $pst >pst.dump
70 70 #
71 grep '^dn:' ams.ldif2 | sort >aaa 71 # grep '^dn:' ams.ldif2 | sort >aaa
72 grep '^dn:' ams.ldif | sort >bbb 72 # grep '^dn:' ams.ldif | sort >bbb
73 echo 'differences from nightly ldap' 73 # echo 'differences from nightly ldap'
74 diff aaa bbb 74 # diff aaa bbb
75 echo 'end differences' 75 # echo 'end differences'
76 rm -f aaa bbb 76 # rm -f aaa bbb
77 popd 77 # popd
78 fi 78 #fi