The cleanup plug-in 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 plug-in to delete assets on a schedule.
The cleanup plug-in configuration is, for flexibility reasons, not handled through the plug-in configuration file. You will need some technical skills to configuring this plug-in 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.
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!
- 4 May 2018: Changed title from 'Elvis 6 sample plug-in - Cleanup files and folders' to 'Elvis 6 sample plug-in - Cleaning up files and folders'