I think no need to script for this..
JUST DELETE THE OLD LINK FOLDER.. SO WHEN YOU OPEN THE DOCUMENT IN THE NEW SERVER IT SHOW AS MISSING LINKS.. THEN YOU RELINK THE LINKS WITH NEW SERVER FOLDER..
, Thanks but that would be very time consuming. We have files linked in many different buried folder structures with literally thousands of InDesign files that need updated.
Kasyan Servetsky, Thank you so much! Your script is exactly what I was looking for and did the trick perfectly! I really appreciate it.
Please mark as correct answer to Kasyan.. So only it honored the script provider..