I have a bunch of fileservers of different locations which can be accessed over internet \\f1 \\f2 \\f3 (all of them are mirrored folderstructure). I want to repath all of them to a drive instead of a network path when I run a maxscript. As it takes a huge amount of data to read all textures over the vpn network.
Lets say I have textures in this folder \\f1\resources\textures and want to replace the prefix \\f1\resources\ to A:\ like this
oldPrefix1 = “\\f1\resources\, \\f2\resources\, \\f3\resources\”
newPrefix1 = “A:\”
oldPrefix2 = “\\f1\projects\, \\f2\projects\, \\f3\projects\”
newPrefix2 = “B:\”
etc
Is this possible with an easy ATSOps script (tried but couldnt get it to work) or any other kind of script? We usually do the same operation but with Interactive renamer or relink bitmaps but its allways the same path that needs to be replaced so I would be easier to have one script the replaces the "prefix" of the full path every time