Logo Help Center

Elvis 4 bundled plug-in - Cleanup files and folders

Elvis 4 bundled plug-in - Cleanup files and folders

The cleanup plugin can remove assets and folders in Elvis. This can be useful to, for example, remove unused files from automatic wire feed imports or remove photos that should be deleted due to license limitations.

Note: This bundled plug-in is supported for production use.

Tip: If you want to prevent users from deleting assets, don't give them delete rights but let them use metadata (field with pulldown value "delete" or "remove") and use this cleanup plugin to delete assets on a schedule.


The cleanup plugin configuration is, for flexibility reasons, not handled through the plugin configuration file. You will need some technical skills to configuring this plugin correctly.

Files and folders can be removed using a query, defined in a remove webservice call inside the <cleanup>/xsl/remove-request.xml file. This gives you a lot of flexibility on what you want to remove.

Please read SOAP - introduction first so you understand what you are doing. Also, you can use a tool like soapUI to test you query with a search webservice call before using it in this plugin.

Warning: Be very careful, if you do not understand what you're doing, creating an incorrect query can delete files you don't want to delete!

Notice: In some cases where you have set the "analyzer = de" Elvis does not return results with the remove-query.xml which is related to certain field settings. Please us the following query instead: Soap query remove credit request.xml

Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request


Please sign in to leave a comment.