I’ve written an app for OS X that will take an Adobe Illustrator file with broken links / liked files, and run through those trying to relink them automatically.
Instructions
- Open the Adobe Illustrator (.ai) file with Illustrator. This application has been confirmed to work with Illustrator versions CS3, CS4, CS5, and CS6.
- Choose “Ignore” or “Ignore / Apply to All” to the messages about the missing files when the document is opening. Those are typically something like “Could not find the linked file / Choose Replace to select another file or Ignore to leave the link unchanged.”

- Run the Fix Linked Files App that you downloaded / installed.
- You will be prompted for a directory to search (recursively) for the missing linked files. By default this is set to three levels up from where the Adobe Illustrator file with the missing linked files is located. Please note: If you choose the root folder ( / ) or a folder with many files in it, it may take some time for the system to search for the linked files. I would suggest choosing the most restrictive path possible to start with.
- After the app has completed, any linked files found will be updated (and will show up normally) in Adobe Illustrator.
- Save the AI file and the linked files will continue your workflow with all the linked resources now fixed!
- Next time you open this file all of the resources will remain fixed and you will not be prompted to relink them when re-opening the .ai file.
Requirements
- Mac OS X
- Adobe Illustrator
Download / Purchase
The cost of this application is $15USD per license. One license should be purchased per user, but if you have multiple computers (where you are the primary user) you may use this application on each of them. You may purchase via PayPal and you will receive a link to download it immediately. You will also receive both the application and the sample project and resource files from the video / screen cast. You may not modify or redistribute this application. Please contact me if you have any questions.
- Satisfaction Guaranteed or your money back
- Instant download upon payment
In the world of cloud storage (ie. Dropbox), Illustrator is fundamental flawed: It links to images using absolute paths, rather than relative paths (like Indesign). This creates a nightmare if you work on multiple computers like I do. Each time you open a file, you have to waste an incredible amount of time relinking EVERY image, ONE by ONE. Finally, I discovered Will’s script and I can now open Illustrator files without flinching. One click
Yeah this is exactly what I had been look for, this script is easy to use and has made my life easier- thanks.
I need a tool similar this, but for Windows. Please let me know.
Since we change the Server, the directoryname is different. Y need a tool to change only the root for example \\server01\folder01\imag.jpg to \\servernew\folder20\imag.jpg.
The settings for example:
Old Directory : \\server01\folder01
New Directory:\\servernew\folder20
Hi Martin,
I will let you know if a Windows version becomes available. I had originally tried writing one for Windows before I wrote the one for Mac but it seemed almost impossible the way it is set up. I will keep you (or anyone else who comments here on wanting a Windows version) updated if I make any progress.
Best,
Will
The following comment is an e-mail thread between Nicolas and I, posted with his consent, and my replies in line.
Hi Will,
Thanks for your email, I was quite busy last week so I took me some time to answer. You’ll find my feedback below.
I had no trouble downloading the script and I’m just starting to use it. At first I thought it was a script to be put within the Illustrator presets. But I soon realized something was wrong when going to File > Script so I came back to your page to see how to use it properly.
I tried running it without any AI file open and it gave me instructions as to how I should use the app. However, when I opened a file and selected a folder that didn’t have the linked files, the script didn’t show any warning.
The best part is when you select the right folder, the script works and it’s such a pleasure to see it do what you’d painfully do one click at a time !
Another time-saving feature is the default three levels up from where the AI file is. The linked files aren’t usually too far from that.
There are two things I’m going to test soon. The first is, whenever I want to transfer the “fixed” AI file to another computer, will I have to run your script again ? If the links in Illustrator are absolute, then it’s very likely that I’ll have to do so.
The second thing is, what happens when I use the CollectForOutput script to package a project in a similar fashion as InDesign does (without the fonts) ? Do I then need to close, open and run the script again ?
One thing that could be improved: rather than running the script from the Finder or Spotlight, I’d prefer to have this available within Illustrator with a shortcut or if it is meant to be an application, that it’d remain open in a window with a “relink” button or something.
Could you tell me what you’re planning to add to the new version of this utility ?
Best,
Nicolas
Just what I was looking for…
One quick question: Does anybody know if Illustrator CS6 uses relative paths?
Hi Mike – if you’re asking if this problem persists in CS6, the answer is unfortunately “yes”
Thanks w!
Will this work on a smb share where the directory structure has changed? We converted a xserver to a windows server and changed the directory structure. Files are still being accessed from a Mac 10.5 and 10.6 using smb instead of afp.
@CC – It should work although if your SMB connection is slow it may take a little while to run. It seems that it will in fact run with both SMB & AFP, but performance is of course based on your hardware and connection speed. For some it works quite fast. You can always try it and if it doesn’t work there is of course the satisfaction guarantee.
Thanks for a great app! you saved me so much time!!
GREAT APP!!! Thanks Will!
I tested it on a CS6 file and it worked great. Thanks for solving this issue!