Any best practice tips to clean up orphaned files in the Global Files Container?
Hi community,
on a regular basic I clean up orphaned files. Typically these are files that were used in a relationship or file property item.
But we have another type of files -> images and thumbnails. If thumbnails are not referenced any more, they are not marked as orphaned. They stay in the Global Files Container. We cannot use the locator to check if the files are still used.
What is the best way to get and overview of these files?
I am already able to find orphaned thumbnails of Parts via SQL.
But I noticed that it´s dangerous to only check the "Part" Item Type. The "Image" property is used more than 30 ItemTypes. Just because my orphaned image isn´t use in a Part, doesn´t mean it isn´t use in a mpp_Tool
So I wonder if my current approach to get the files via SQL is really the best approach.
Does anyone have a better idea?
Angela