[opencms-dev] how to find unused/not linked/orphan files in vfs - pls help

always.work.in.progress always.work.in.progress always.work.in.progress at gmail.com
Fri Feb 23 17:59:14 CET 2018


hi all...
i am using Opencms 10.0.0/mysql set up in multisite environment (apache +
mod proxy)
i manage some large web sites plenty of xml contents/pages that link to
many internal uploaded pdf/images files/other filetypes etc..
often these files that are not needed anymore, are unlinked from related
xml contents, but unfortunately they are not deleted from the vfs workplace
and so become "forgotten".. :(

Is there an internal workplace jsp script or function in order to find
these "orphan files" ?
i mean files that are present in vfs but not anymore linked from any xml
contents page;

these files waste db blob space and the mysql database under opencms is
growing in size and getting more and more big..

i tried to look for a way to do that but i've never found a similar
function/method..
it would be really useful in order to locate these unused  files and delete
them.

thanks in advance for your reply.

bye.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180223/74a8bf7e/attachment.htm>


More information about the opencms-dev mailing list