Like most graphic designers, I create job folders for my Indesign files to stay in with their associated links, fonts and other resources stored in subfolders. Often I find that my Indesign documents are linked to images in other job folders too, or maybe a master image folder or just some other random places that I have forgotten about. So it makes sense at the conclusion of each job to archive the Indesign files and their links to the current job folder.
This would usually be achieved by choosing File/Package. But what about all the images that are already contained in the current job folder – I don’t want to fill up my hard drive with duplicate items! Otherwise I could right-click on the links one by one in the links panel and tell Indesign to copy them to my current job folder. But I don’t want to check the location of each image one by one. There must be an easier way!
If this scenario sounds familiar, this script can help you out. It first makes one big assumption – that your Indesign file is saved at the top level of your current job folder. The script will check the location of all your linked files and tell you which ones are not linked to somewhere within the current job folder. It give you the option to collect these images back to wherever you want (like your current job folder). There is also an option to have the script consider a master folder, just in case you do not want to collect images that are linked to it.