I have a path say ==========================
/nfs/old_home/dexter/work/Deamon/Test2/IN/
Inside this path i have script files say: Files1.sh Files2.sh Flles3.sh ....
Filesn.sh
Each of these script files have a line say
export DATABASE_XML=/mnt/nfs/lin_work_live/linear_work/dexter/Deamon/Test2/RDB.xml
===================================================== So say the first path i.e. /nfs/old_home/dexter/work/Deamon/Test2/ has this RDB.xml file and the path Given in that Script file i.e. export DATABASE_XML=**/mnt/nfs/lin_work_live/linear_work/dexter/Deamon/Test2/**RDB.xml is the linked path.
So If i move the script files from say /nfs/old_home/dexter/work/Deamon/Test2/IN/ to /nfs/old_home/dexter/work/Deamon/Test3/IN/ so it should read the RDB.xml file of the /nfs/old_home/dexter/work/Deamon/Test3/ directory and not the Test2..in 1 simple word the path inside the scripts export DATABASE_XML=/mnt/nfs/lin_work_live/linear_work/dexter/Deamon/Test2/RDB.xml Should change to Test3 also this change should reflect in all the File1.sh...FileN.sh files i move. Hope this is much clear now??
See Question&Answers more detail:os