1.
cd to /home/orafmw/oracle/middleware/iam/common/bin
2.
./wlst.sh
3.
connect('weblogic','xxxxxxx','t3://oim.kpsoft.org:7001')
[here weblogic is username, weblogic120
is password and the host is of the domain's admin server]
4.
exportMetadata(application='OIMMetadata',
server='wls_oim1',toLocation='/home/orafmw/temp/allmetadata01192012',docs='/**')
5.
exit()