Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Moving InDesign files from a server to OneDrive. How can links be updated automatically?

New Here ,
Oct 01, 2025 Oct 01, 2025

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

 

TOPICS
Scripting , Sync and storage
141
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2025 Oct 01, 2025

Relink to Folder is what you need, as far as I understand (from the Links panel):

 

leor_0-1759349830433.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 01, 2025 Oct 01, 2025

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2025 Oct 01, 2025
quote

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2025 Oct 01, 2025
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
5 hours ago 5 hours ago

thank you leo.r! i will try the script! at list for the links that are in one folder.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2025 Oct 01, 2025

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2025 Oct 01, 2025
quote

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2025 Oct 01, 2025
quote

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 02, 2025 Oct 02, 2025

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

Screenshot 2025-10-03 at 16.10.35.png

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
5 hours ago 5 hours ago
LATEST

Hello Mark, this a great help! thank you very much. i will try it.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines