I'm trying to modify the following in order to rename some symbolic links:
find /home/user/public_html/qa/ -type l \ -lname '/home/user/public_html/dev/*' -printf \ 'ln -nsf $(readlink %p|sed s/dev/qa/) $(echo %p|sed s/dev/qa/)\n'\ > script.sh
-lname option does not work for HPUX. Do you know something equivalent that I can use?
Just to give you and idea of my problem, I want to change all the symbolic links inside a particular folder.
New Symbolic link --> /base/testusr/scripts Old Symbolic link --> /base/produsr/scripts
Now folder "A" contains more than 100 different files having soft links which I need to change in this manner.