Copy link to clipboard
Copied
Hello everyone!
i'm planing to move several files from a server to OneDrive. This involves an structure where differents files are linked in InDesign documents.
Is there a way to automatically change the path for all files to the new location at once?
The case:
InDesign link to current link from image on server:
/Volumes/marketing/MarCom/Documents/Graphic/project1/picture1.png
NewInDesign link to the image in OneDrive:
/Users/user/Library/CloudStorage/OneDrive/Documents/Graphic/project1/picture1.png
What changes by moving the folders is the beginning of the path. Documents/Graphic/project1/picture1.png remains unchanged.
I really apreciate you advice!
Kind Regards,
Victoria
Copy link to clipboard
Copied
Relink to Folder is what you need, as far as I understand (from the Links panel):
Copy link to clipboard
Copied
Thank you leo.r.
this is the way to anually change avery single link in every single file.
I'm looking for a way to say Indesign: "when you open the file, please change replace the server by onedrive (only the beginning of the link, not the whole link)"
Do you know what I mean?
Copy link to clipboard
Copied
this is the way to anually change avery single link in every single file.
By @Victoria_4811
You can select all links in the Links panel (using Shift), then InDesign should relink them all automatically if they're in the folder.
Copy link to clipboard
Copied
There's also this script:
https://www.drscripto.com/indesign-search-and-replace-link-paths/
Copy link to clipboard
Copied
thank you leo.r! i will try the script! at list for the links that are in one folder.
Copy link to clipboard
Copied
I've never used it myself but Kasyan wrote this script for server migration which you should be able to use to change all of your link paths.
If I were in your shoes, and the number of files I had to move was small enough, I would simply use File -> Package to ensure that each file has all of the resources necessary, including fonts, PDF, and IDML. That's just basic archival practice for me.
Edit: but I think Leo's method is faster, though.
Copy link to clipboard
Copied
I've never used it myself but Kasyan wrote this script for server migration
By @Joel Cherney
Oh yeah, that's the script I initially thought of but the search brought up a different one.
Copy link to clipboard
Copied
I'm looking for a way to say Indesign: "when you open the file, please..."
By @Victoria_4811
If you want it to happen automatically on opening your files, you'll need a custom startup script. If you have dozens of files (or more), it might be worth it.
Copy link to clipboard
Copied
Hi @Victoria_4811, I've written a few version of this script over the years, mainly for myself (although I'm sure I've posted some on the forum before) however none of them were particularly intuitive to use. I've had another try, starting from scratch, and I think I've written a really useful script for your situation (and I will use it too!).
A cool feature of this script is that it saves the changes in the document, and if you ever move the document back to its original place, just run the script again and it will know how to fix them without doing step 1 and 2 again.
I have just uploaded it to my github repo, so please take a look. If you don't want instructions you can download it directly.
Let me know if it helps!
- Mark
Edit: forgot to mention—if you open all your documents first, then run the script, it will fix broken links in all of them, which is much quicker than doing them one at a time.
Copy link to clipboard
Copied
Hello Mark, this a great help! thank you very much. i will try it.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now