Hello,

I'm trying to migrate lots of different dirs from netware 6 to OES2 into different destination volumes.

I'm trying to use a custom script to migrate them to different volumes.

Here is the sample script:
#start script
export IFS=,
export ESUP_DATA='TEST, TEST 1, TEST 2 , TEST4'
export ESUP_DATA2='TEST 5, TEST 6, TEST7'
export MIGPATH=/opt/novell/migration/sbin
for X in $ESUP_DATA;
do $MIGPATH/migfiles -nis 192.168.2.4 -v data:$X -V DATA_ESUP:$X -L /home/ME/migration-log/$X.log --update-ifnewer;
done
for X in $ESUP_DATA2;
do $MIGPATH/migfiles -nis 192.168.2.4 -v data:$X -V DATA_ESUP2:$X -L /home/ME/migration-log/$X.log --update-ifnewer;
done
#end script

The problem is that I have to re-enter my credentials for every $X ..., which is very very annoying because there are a lot of different directories which I need to migrate to different destination volumes.

Is there a workaround or an environnement variable available or something like ssh-agent available which I could use, so I wouldn't have to re-enter every $X my user & password credentials.

Thanks a lot!
Didier