Thread:Project:Support desk/Clearing out the image archive ie, getting rid of old image revisions and just keeping the latest version

Hi,

I was running a scheduled maintenance command, (eg '/maintenance/importImages.php --overwrite /images folder') while I was getting my images sorted out during a Wiki migration/upgrade. However I discover now that I have many archive versions of each file which are not needed.

So now that the Wiki is running well and there's no need for all those old images, how do I simply purge/delete them all?

Can I simply delete the 'wiki/images/archive' directory ? Will it recreate the archive from scratch?

What is the best method to do this ?

Many thanks....

marc