We have a need to purge obsolete space-consuming media files. Our plan is to identify comments (and articles) that are no longer considered 'timely' and remove all image, video, etc. files associated with those comments (and articles). The embedded
, ... HTML will then be removed from the comment (or article).
In result, these obsolete comments (and articles) will be stripped of their associated HTML media references and the stored media files will be purged to free up disk space.
Key question is which JR functions should be used support this algorithm? How, for example, can we best translate the
information into a reference to the stored media file and then, given that reference, what is the best JR function to use to delete just that file?
Thanks.
--
TiG
updated by @tig: 11/09/21 11:34:47PM