I have a user that has uploaded several versions of images hundreds of time. I want to delete all previous versions of all images on my server and keep only the most recent versions. Is there a script that will purge all of the old image versions?
Topic on Project:Support desk/Flow
Don't know if there is a better way or not, but one way would be to use the "delete all" link on the File page.
After the file has been deleted, the page will have a restore link.
The restore page will have the option to restore only selected revisions which can be used to restore only the newest revision.
The archived files can then be deleted from server through scripts.